Skip to content

Commit

Permalink
Quick fix (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
longfangsong authored Aug 31, 2020
1 parent b08c51c commit c78928d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (c *Config) MergeWith(other *Config) {
}

func (c *Config) Validate() error {
if (c.CICD != nil && c.CICD.K8s == nil && c.CICD.GithubAction == nil) || (c.Docker == nil || c.Docker.Username == nil && c.Docker.Tag == nil) {
if (c.CICD != nil && c.CICD.K8s == nil && c.CICD.GithubAction == nil) || (c.Docker == nil || c.Docker.Username == nil || c.Docker.Tag == nil) {
c.CICD = nil
}
err := c.Database.Validate()
Expand Down

0 comments on commit c78928d

Please sign in to comment.