We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3316cba commit 030ba6fCopy full SHA for 030ba6f
cmd/provisioner-localpv/app/start.go
@@ -22,6 +22,8 @@ import (
22
"os"
23
"strings"
24
25
+ menv "github.com/openebs/maya/pkg/env/v1alpha1"
26
+ analytics "github.com/openebs/maya/pkg/usage"
27
"github.com/pkg/errors"
28
"github.com/spf13/cobra"
29
"github.com/spf13/pflag"
@@ -108,6 +110,12 @@ func Start(cmd *cobra.Command) error {
108
110
provisioner,
109
111
pvController.LeaderElection(isLeaderElectionEnabled()),
112
)
113
+
114
+ if menv.Truthy(menv.OpenEBSEnableAnalytics) {
115
+ analytics.New().Build().InstallBuilder(true).Send()
116
+ go analytics.PingCheck()
117
+ }
118
119
klog.V(4).Info("Provisioner started")
120
//Run the provisioner till a shutdown signal is received.
121
pc.Run(ctx)
0 commit comments