Skip to content

Commit

Permalink
Merge pull request #392 from cloudflare/allow-zone-account-flags
Browse files Browse the repository at this point in the history
Allow both zone and account because of workers
  • Loading branch information
manatarms authored Apr 8, 2022
2 parents 238cbec + f44703f commit a6060c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/cf-terraforming/cmd/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func sharedPreRun(cmd *cobra.Command, args []string) {
hostname = viper.GetString("hostname")

if accountID != "" && zoneID != "" {
log.Fatal("--account and --zone are mutually exclusive and cannot be used together")
log.Debug("--account and --zone are mutually exclusive, support for both is deprecated")
}

if apiToken = viper.GetString("token"); apiToken == "" {
Expand Down

0 comments on commit a6060c6

Please sign in to comment.