Skip to content

Commit 90cd280

Browse files
authored
CLOUDP-63019: Fix continuous backup wording (#180)
1 parent a26316d commit 90cd280

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

internal/cli/atlas_clusters_create.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,11 @@ func updateLabels(out *atlas.Cluster) {
110110

111111
func (opts *atlasClustersCreateOpts) applyOpts(out *atlas.Cluster) {
112112
replicationSpec := opts.newReplicationSpec()
113-
out.ProviderBackupEnabled = &opts.backup
113+
if opts.backup {
114+
out.ProviderBackupEnabled = &opts.backup
115+
out.PitEnabled = &opts.backup
116+
}
117+
114118
out.DiskSizeGB = &opts.diskSizeGB
115119
out.MongoDBMajorVersion = opts.mdbVersion
116120
out.ProviderSettings = opts.newProviderSettings()

internal/usage/usage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
Members = "Number of members in the replica set."
2222
Tier = "Tier for each data-bearing server in the cluster."
2323
DiskSizeGB = "Capacity, in gigabytes, of the host’s root volume."
24-
Backup = "If true, enables Cloud Continuous Backup for your cluster."
24+
Backup = "If true, enables Continuous Cloud Backup for your cluster."
2525
MDBVersion = "MongoDB version of the cluster to deploy."
2626
AuthDB = "Authentication database name."
2727
Granularity = "Duration in ISO 8601 notation that specifies the interval between measurement data points."

0 commit comments

Comments
 (0)