File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 4444 TakesFile : true ,
4545 }
4646
47- analyticsFlag = & cli.StringFlag {
48- Name : "--disable-telemetry" ,
49- Hidden : true ,
47+ analyticsFlag = & cli.BoolFlag {
48+ Name : "disable-telemetry" ,
49+ EnvVars : []string {"DISABLE_TELEMETRY" },
50+ Hidden : true ,
5051 }
5152)
5253
@@ -95,6 +96,7 @@ func displayCopyright(ctx *cli.Context) error {
9596
9697func initAnalytics (ctx * cli.Context ) error {
9798 if ctx .Bool ("disable-telemetry" ) {
99+ log .Tracef ("disabling telemetry" )
98100 return nil
99101 }
100102
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ FOOTLOOSE_TEMPLATE=${FOOTLOOSE_TEMPLATE:-"footloose.yaml.tpl"}
22
33export LINUX_IMAGE=${LINUX_IMAGE:- " quay.io/footloose/ubuntu18.04" }
44export PRESERVE_CLUSTER=${PRESERVE_CLUSTER:- " " }
5+ export DISABLE_TELEMETRY=true
56
67
78function createCluster() {
You can’t perform that action at this time.
0 commit comments