Skip to content

Commit 2689590

Browse files
committed
Address various linter (staticcheck, modernize, etc.) comments.
Additionally, fix bug to properly identify dynamically created group snapshots for fixed group snapshot content names when group snapshots are being deleted.
1 parent 6b2feaa commit 2689590

18 files changed

+117
-536
lines changed

cmd/snapshot-controller/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,6 @@ func buildConfig(kubeconfig string) (*rest.Config, error) {
335335

336336
type promklog struct{}
337337

338-
func (pl promklog) Println(v ...interface{}) {
338+
func (pl promklog) Println(v ...any) {
339339
klog.Error(v...)
340340
}

0 commit comments

Comments
 (0)