remove unneeded cast

This commit is contained in:
Matthew Hooker 2017-06-08 15:44:48 -07:00
parent 934c7dae35
commit baf31980c7
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}