cmd/loop: remove orphan flag access

abandonSwap used to access flag --id which does not exist.
This commit is contained in:
Boris Nagaev 2026-02-03 00:07:41 -05:00
parent 61945bd9f9
commit 3182be8bf1
No known key found for this signature in database

View file

@ -206,9 +206,6 @@ func abandonSwap(ctx context.Context, cmd *cli.Command) error {
var id string
switch {
case cmd.IsSet("id"):
id = cmd.String("id")
case cmd.NArg() > 0:
id = args.First()