Skip to content

Commit

Permalink
Fix typo in log (kedacore#1532)
Browse files Browse the repository at this point in the history
logr expects key,value pairs.

Signed-off-by: Suresh Kumar Ponnusamy <suresh.ponnusamy@freshworks.com>
  • Loading branch information
Suresh Kumar authored and ycabrer committed Mar 1, 2021
1 parent 23042bf commit c463130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scaling/resolver/scale_resolvers.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func resolveEnv(client client.Client, logger logr.Logger, container *corev1.Cont
namespace)
}
default:
logger.V(1).Info("cannot resolve env %s to a value. fieldRef and resourceFieldRef env are skipped", envVar.Name)
logger.V(1).Info("cannot resolve env to a value. fieldRef and resourceFieldRef env are skipped", "env-var-name", envVar.Name)
continue
}
}
Expand Down

0 comments on commit c463130

Please sign in to comment.