diff --git a/cmd/skywire-cli/commands/config/gen.go b/cmd/skywire-cli/commands/config/gen.go index 9bf3f9de91..3d860b208a 100644 --- a/cmd/skywire-cli/commands/config/gen.go +++ b/cmd/skywire-cli/commands/config/gen.go @@ -477,7 +477,7 @@ var genConfigCmd = &cobra.Command{ serviceConfURL = utilenv.ServiceConfAddr } //use test deployment - if serviceConfURL == "" && isTestEnv { + if isTestEnv { serviceConfURL = utilenv.TestServiceConfAddr } // enable errors from service conf fetch from the combination of these flags