Skip to content

Commit c186770

Browse files
committed
KFLUXINFRA-3633 - smooth Gosec's ruffled feathers
1 parent 4e3f87f commit c186770

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

magefiles/magefile.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import (
1414

1515
"github.com/devfile/library/v2/pkg/util"
1616
runtime "k8s.io/apimachinery/pkg/runtime"
17-
18-
"k8s.io/klog/v2"
17+
"k8s.io/klog"
1918

2019
"sigs.k8s.io/yaml"
2120

@@ -1302,8 +1301,8 @@ func BootstrapClusterForUpgrade() (*installation.InstallAppStudio, error) {
13021301
}
13031302

13041303
func BootstrapClusterForDR(version string) (*installation.InstallAppStudio, error) {
1305-
os.Setenv("INFRA_DEPLOYMENTS_ORG", "redhat-appstudio")
1306-
os.Setenv("INFRA_DEPLOYMENTS_BRANCH", version)
1304+
os.Setenv("INFRA_DEPLOYMENTS_ORG", "redhat-appstudio") // #nosec G104
1305+
os.Setenv("INFRA_DEPLOYMENTS_BRANCH", version) // #nosec G104
13071306
ic, err := installation.NewAppStudioInstallController()
13081307
if err != nil {
13091308
return nil, fmt.Errorf("failed to initialize installation controller: %+v", err)

0 commit comments

Comments
 (0)