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 {
|
for k, v := range opts.Vars {
|
||||||
isSensitive := false
|
isSensitive := false
|
||||||
for _, sensitiveVar := range opts.PrivVars {
|
for _, sensitiveVar := range opts.PrivVars {
|
||||||
if string(sensitiveVar) == string(k) {
|
if sensitiveVar == k {
|
||||||
isSensitive = true
|
isSensitive = true
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue