Skip to content

Commit a0b517c

Browse files
committed
cmd: nolint test-script RunMain
RunMain is deprecated. Putting a nolint on it and created https://issues.redhat.com/browse/OCPBUGS-64696 to ask the agent team to fix eventually.
1 parent cc99514 commit a0b517c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/node-joiner/nodejoiner_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestMain(m *testing.M) {
3939
// Set up the logger for testing
4040
log.SetLogger(logr.Logger{})
4141

42-
os.Exit(testscript.RunMain(m, map[string]func() int{
42+
os.Exit(testscript.RunMain(m, map[string]func() int{ //nolint:staticcheck //TODO: OCPBUGS-64696
4343
"node-joiner": func() int {
4444
if err := nodeJoiner(); err != nil {
4545
return 1

cmd/openshift-install/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func TestMain(m *testing.M) {
11-
os.Exit(testscript.RunMain(m, map[string]func() int{
11+
os.Exit(testscript.RunMain(m, map[string]func() int{ //nolint:staticcheck //TODO OCPBUGS-64696
1212
"openshift-install": func() int {
1313
main()
1414
return 0

0 commit comments

Comments
 (0)