Skip to content

Commit 9b5e493

Browse files
committed
Correcting the replication provider for update protection profile cmdlet
1 parent 5222693 commit 9b5e493

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices/Service/SetAzureSiteRecoveryProtectionProfile.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,15 @@ HyperVReplicaProtectionProfileInput hyperVReplicaProtectionProfileInput
281281
ApplicationConsistentSnapshotFrequencyInHours =
282282
this.ApplicationConsistentSnapshotFrequencyInHours.HasValue
283283
? this.ApplicationConsistentSnapshotFrequencyInHours.GetValueOrDefault()
284-
: this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours,
284+
: this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ApplicationConsistentSnapshotFrequencyInHours,
285285
OnlineReplicationStartTime =
286286
this.ReplicationStartTime.HasValue
287287
? this.ReplicationStartTime.GetValueOrDefault()
288-
: this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.ReplicationStartTime,
288+
: this.ProtectionProfile.HyperVReplicaProviderSettingsObject.ReplicationStartTime,
289289
RecoveryPoints =
290290
this.RecoveryPoints.HasValue
291291
? this.RecoveryPoints.GetValueOrDefault()
292-
: this.ProtectionProfile.HyperVReplicaAzureProviderSettingsObject.RecoveryPoints,
292+
: this.ProtectionProfile.HyperVReplicaProviderSettingsObject.RecoveryPoints,
293293
CompressionEnabled =
294294
this.CompressionEnabled.HasValue
295295
? (bool)this.CompressionEnabled.GetValueOrDefault()

0 commit comments

Comments
 (0)