We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df85d29 commit 1eea446Copy full SHA for 1eea446
1 file changed
internal/command/volumes/update.go
@@ -89,9 +89,9 @@ func runUpdate(ctx context.Context) error {
89
}
90
91
if flag.GetString(ctx, "scheduled-snapshots") == "true" {
92
- input.AutoBackupEnabled = api.BoolPointer(true)
+ input.AutoBackupEnabled = fly.BoolPointer(true)
93
} else if flag.GetString(ctx, "scheduled-snapshots") == "false" {
94
- input.AutoBackupEnabled = api.BoolPointer(false)
+ input.AutoBackupEnabled = fly.BoolPointer(false)
95
} else if flag.GetString(ctx, "scheduled-snapshots") != "" {
96
return fmt.Errorf("--scheduled-snapshots=VALUE must be either `true` or `false`")
97
0 commit comments