Skip to content

Commit 7f6ad4e

Browse files
committed
CR Feedback changes for Parameters
CR Feedback changes for Parameters
1 parent 7c9cada commit 7f6ad4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/SetAzureSqlDatabaseSecondary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected override IEnumerable<AzureReplicationLinkModel> PersistChanges(IEnumer
112112
this.ServerName,
113113
this.DatabaseName,
114114
this.PartnerResourceGroupName,
115-
this.MyInvocation.BoundParameters.ContainsKey("AllowDataLoss") ? true : false)
115+
this.AllowDataLoss.IsPresent)
116116
};
117117
default:
118118
// Warning user that no options were provided so no action can be taken.

0 commit comments

Comments
 (0)