Skip to content

Commit 1eea446

Browse files
committed
Update api
1 parent df85d29 commit 1eea446

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/command/volumes/update.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ func runUpdate(ctx context.Context) error {
8989
}
9090

9191
if flag.GetString(ctx, "scheduled-snapshots") == "true" {
92-
input.AutoBackupEnabled = api.BoolPointer(true)
92+
input.AutoBackupEnabled = fly.BoolPointer(true)
9393
} else if flag.GetString(ctx, "scheduled-snapshots") == "false" {
94-
input.AutoBackupEnabled = api.BoolPointer(false)
94+
input.AutoBackupEnabled = fly.BoolPointer(false)
9595
} else if flag.GetString(ctx, "scheduled-snapshots") != "" {
9696
return fmt.Errorf("--scheduled-snapshots=VALUE must be either `true` or `false`")
9797
}

0 commit comments

Comments
 (0)