Skip to content

Commit 1f65014

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 23dd3f1 commit 1f65014

18 files changed

+114
-532
lines changed

cmd/snapshot-controller/main.go

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

379379
type promklog struct{}
380380

381-
func (pl promklog) Println(v ...interface{}) {
381+
func (pl promklog) Println(v ...any) {
382382
klog.Error(v...)
383383
}

0 commit comments

Comments
 (0)