Skip to content

Commit 2cc7bf9

Browse files
authored
CLOUDP-61294: Don't let users create cluster with continuous backup (#122)
1 parent 449ad9a commit 2cc7bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/atlas_clusters_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (opts *atlasClustersCreateOpts) newCluster() (*atlas.Cluster, error) {
9090

9191
func (opts *atlasClustersCreateOpts) applyOpts(out *atlas.Cluster) {
9292
replicationSpec := opts.newReplicationSpec()
93-
out.BackupEnabled = &opts.backup
93+
out.ProviderBackupEnabled = &opts.backup
9494
out.DiskSizeGB = &opts.diskSizeGB
9595
out.MongoDBMajorVersion = opts.mdbVersion
9696
out.ProviderSettings = opts.newProviderSettings()

0 commit comments

Comments
 (0)