Skip to content

Commit 1be8c56

Browse files
authored
Delete minor unreachable code caused by log.Fatal (#3844)
Signed-off-by: Abirdcfly <[email protected]>
1 parent e3a1399 commit 1be8c56

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/app/piped/platformprovider/kubernetes/kubernetes_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ func TestMain(m *testing.M) {
2828
binDir := "/tmp/piped-bin"
2929
if err := toolregistry.InitDefaultRegistry(binDir, zap.NewNop()); err != nil {
3030
log.Fatal(err)
31-
os.Exit(1)
3231
}
3332
os.Exit(m.Run())
3433
}

0 commit comments

Comments
 (0)