chore: Disable usage reporting for non release builds
Will prevent us to send telemetry while working on driftctlmain
parent
dd64918ec7
commit
33d51a5ab4
|
@ -20,5 +20,5 @@ func (b Build) IsRelease() bool {
|
|||
}
|
||||
|
||||
func (b Build) IsUsageReportingEnabled() bool {
|
||||
return enableUsageReporting == "true"
|
||||
return b.IsRelease() && enableUsageReporting == "true"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue