From a968c6698e706ac962e93011826fcac2955ae092 Mon Sep 17 00:00:00 2001 From: yanxuean Date: Mon, 16 Jul 2018 19:12:08 +0800 Subject: [PATCH] correct format string Signed-off-by: yanxuean --- pkg/imagetranslation/translator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/imagetranslation/translator.go b/pkg/imagetranslation/translator.go index 5c05d7fcf..67848d91e 100644 --- a/pkg/imagetranslation/translator.go +++ b/pkg/imagetranslation/translator.go @@ -180,7 +180,7 @@ func (t *imageNameTranslator) Translate(name string) image.Endpoint { } re, err := regexp.Compile(r.Regex) if err != nil { - glog.V(2).Infof("invalid regexp in image translation config: ", r.Regex) + glog.V(2).Infof("invalid regexp in image translation config: %q", r.Regex) continue } submatchIndexes := re.FindStringSubmatchIndex(unprefixedName)