Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
Minor change in log (#213)
Browse files Browse the repository at this point in the history
* Compatible with upstream changes

* Format error logs
  • Loading branch information
johnugeorge authored and k8s-ci-robot committed Sep 3, 2019
1 parent dce3b73 commit c53647c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ var initContainerTemplate = `
func init() {
bytes, err := ioutil.ReadFile("/etc/config/initContainer.yaml")
if err != nil {
log.Warningf("error while read initContainerTemplate, use default. error: %s", err)
log.Info("Using default init container template")
} else {
log.Info("Using init container template from /etc/config/initContainer.yaml")
initContainerTemplate = string(bytes)
}
}
Expand Down

0 comments on commit c53647c

Please sign in to comment.