Skip to content

Commit 5896729

Browse files
author
Enda
authored
fix: remove unused function (#275)
1 parent d35ce63 commit 5896729

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/cmd/cluster/info/info.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,4 @@ func runInfo(opts *Options) error {
8686
logger.Info(fmt.Sprintf(statusMsg, color.HiGreenString(currentNamespace), operatorStatus))
8787

8888
return nil
89-
}
90-
91-
func fileExists(path string) bool {
92-
_, err := os.Stat(path)
93-
return !os.IsNotExist(err)
94-
}
89+
}

0 commit comments

Comments
 (0)