diff --git a/command/push.go b/command/push.go index b0105883e..ab234926b 100644 --- a/command/push.go +++ b/command/push.go @@ -361,7 +361,7 @@ func (c *PushCommand) upload( for k, v := range opts.Vars { isSensitive := false for _, sensitiveVar := range opts.PrivVars { - if string(sensitiveVar) == string(k) { + if sensitiveVar == k { isSensitive = true break }