Skip to content

Commit

Permalink
Update log messages
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sim <[email protected]>
  • Loading branch information
Ivan Sim committed Mar 13, 2019
1 parent ab38261 commit b6f5316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/inject/inject.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (conf *ResourceConfig) GetPatch(
shouldInject func(*ResourceConfig, Report) bool,
) (*Patch, []Report, error) {
report := newReport(conf)
log.Infof("working on %s %s..", strings.ToLower(conf.meta.Kind), report.Name)
log.Infof("received %s/%s", strings.ToLower(conf.meta.Kind), report.Name)

if err := conf.parse(bytes); err != nil {
return nil, nil, err
Expand Down Expand Up @@ -191,6 +191,7 @@ func (conf *ResourceConfig) GetPatch(
conf.injectPodSpec(patch, identity)
conf.injectObjectMeta(patch)
} else {
log.Infof("skipped auto-inject on %s/%s. check proxy configs", strings.ToLower(conf.meta.Kind), report.Name)
conf.overrideProxyConfigs(patch)
}
} else {
Expand Down

0 comments on commit b6f5316

Please sign in to comment.