fix little issue (#2126)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero 2022-04-03 08:16:59 +08:00 committed by GitHub
parent be5af8e3b7
commit d4a7b3bfff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1705,10 +1705,8 @@ func (st *HelmState) prepareDiffReleases(helm helmexec.Interface, additionalValu
flags = append(flags, "--include-tests")
}
if suppress != nil {
for _, s := range suppress {
flags = append(flags, "--suppress", s)
}
for _, s := range suppress {
flags = append(flags, "--suppress", s)
}
if suppressSecrets {