From baf31980c766a2b02843ebcfa3aa6a0e881f0c41 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Thu, 8 Jun 2017 15:44:48 -0700 Subject: [PATCH] remove unneeded cast --- command/push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }