Skip to content

Commit

Permalink
Merge pull request #21 from payamQorbanpour/feature/data_center_migra…
Browse files Browse the repository at this point in the history
…tion

Add omitempty to region field
  • Loading branch information
pjfa authored Nov 9, 2022
2 parents 6fbff1b + cf37667 commit 5b8477b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type configFile struct {
ApiVersion string `yaml:"apiVersion"`
Server string `yaml:"server"`
ApiKey string `yaml:"apikey"`
Region string `yaml:"region"`
Region string `yaml:"region,omitempty"`
}

var instance *ConfigInfo
Expand Down

0 comments on commit 5b8477b

Please sign in to comment.