Skip to content

Commit

Permalink
Merge pull request coreos#1346 from sohankunkerkar/fix-clhm-warning
Browse files Browse the repository at this point in the history
internal/exec: switch log level for failed to fetch the config
  • Loading branch information
sohankunkerkar authored Apr 14, 2022
2 parents 3cd0933 + 326a915 commit 56eccf5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/exec/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ func (e *Engine) acquireProviderConfig() (cfg types.Config, err error) {
// cache config for use by other stages.
cfg = emptyConfig
e.Logger.Info("%v: provider config was empty, continuing with empty cache config", err)
} else if err == resource.ErrNeedNet {
e.Logger.Info("failed to fetch config: %s", err)
return
} else if err != nil {
e.Logger.Warning("failed to fetch config: %s", err)
return
Expand Down

0 comments on commit 56eccf5

Please sign in to comment.