Skip to content

Commit 6495f20

Browse files
committed
resolved comments
1 parent 773cbf3 commit 6495f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataShare/DataShare/Synchronization/StartAzDataShareSynchronization.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private void StartSynchronization()
134134
this.ShareSubscriptionName,
135135
new Synchronize(this.SynchronizationMode));
136136
this.WriteObject(synchronization.ToPsObject());
137-
} catch (DataShareErrorException ex) when (ex.Response.StatusCode.Equals(HttpStatusCode.NotFound))
137+
} catch (DataShareErrorException ex) when (ex.Response.StatusCode.Equals(HttpStatusCode.Conflict))
138138
{
139139
throw new PSArgumentException($"Synchronization already in progress.");
140140
}

0 commit comments

Comments
 (0)