mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
remove unneeded cast
This commit is contained in:
parent
934c7dae35
commit
baf31980c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue