Skip to content

Commit

Permalink
remove unneeded cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhooker committed Jun 8, 2017
1 parent 934c7da commit baf3198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit baf3198

Please sign in to comment.