Skip to content

Commit a21d07d

Browse files
committed
Fix flag
1 parent cee72b9 commit a21d07d

File tree

1 file changed

+1
-1
lines changed
  • poollet/volumepoollet/cmd/volumepoollet/app

1 file changed

+1
-1
lines changed

poollet/volumepoollet/cmd/volumepoollet/app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ func Run(ctx context.Context, opts Options) error {
361361
}
362362

363363
var volumeSnapshotEvents irievent.Generator[*iri.VolumeSnapshot]
364-
if opts.Switches.Enabled(volumeController) {
364+
if opts.Switches.Enabled(volumeSnapshotController) {
365365
setupLog.V(1).Info("Volume Snapshot controller enabled")
366366
volumeSnapshotEvents = irievent.NewGenerator(func(ctx context.Context) ([]*iri.VolumeSnapshot, error) {
367367
res, err := volumeRuntime.ListVolumeSnapshots(ctx, &iri.ListVolumeSnapshotsRequest{})

0 commit comments

Comments
 (0)