remove unneeded cast
This commit is contained in:
parent
934c7dae35
commit
baf31980c7
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue