From a536fcd369090d63be427002cf3253c8abd2fd15 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Wed, 1 Dec 2021 14:06:06 +0100 Subject: [PATCH] Fix typo on code --- generator/main.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/generator/main.go b/generator/main.go index 787ecf4..c6c4cb2 100644 --- a/generator/main.go +++ b/generator/main.go @@ -78,11 +78,12 @@ func CreateReplicaObject(name string, s compose.Service) (ret []interface{}) { }) ret = append(ret, store) - if !isSecret{ - Greenf("Done configMap %s\n", cf) - } else { - Greenf("Done secret %s\n", cf) - } + if isSecret { + Greenf("Done secret %s\n", cf) + } else { + Greenf("Done configMap %s\n", cf) + } + } container.Image = "{{ .Values." + name + ".image }}" Values[name] = map[string]interface{}{