Skip to content

Commit 05380db

Browse files
ignore lint error as function should have parameter
Signed-off-by: Arnab Baishnab Nipun <nipun@appscode.com>
1 parent da1e4db commit 05380db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/util.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func getContainerName(pod *core.Pod) string {
152152
return apis.StashContainer
153153
}
154154

155+
// nolint: unparam
155156
func removeDirWithLogErr(dir string) {
156157
if err := os.RemoveAll(dir); err != nil {
157158
klog.Errorf("failed to remove directory %s. Reason: %v", dir, err)

0 commit comments

Comments
 (0)