Skip to content

Commit

Permalink
Update PSClientEncryptionPolicy.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyuezh576 committed Jun 9, 2022
1 parent 5892be3 commit 07e0c4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CosmosDB/CosmosDB/Models/PSClientEncryptionPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class PSClientEncryptionPolicy
{
public PSClientEncryptionPolicy()
{
}
}

public PSClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy)
{
Expand Down Expand Up @@ -69,7 +69,7 @@ public static ClientEncryptionPolicy ToSDKModel(PSClientEncryptionPolicy pSClien
{
IncludedPaths = new List<ClientEncryptionIncludedPath>(),
PolicyFormatVersion = pSClientEncryptionPolicy.PolicyFormatVersion
};
};

if (ModelHelper.IsNotNullOrEmpty(pSClientEncryptionPolicy.IncludedPaths))
{
Expand Down Expand Up @@ -100,7 +100,7 @@ public static ClientEncryptionPolicy ToSDKModel(PSClientEncryptionPolicy pSClien
/// <summary>
/// Ensures that partition key paths are not specified in the client encryption policy for encryption.
/// </summary>
/// <param name="clientEncryptionIncludedPath"></param>
/// <param name="clientEncryptionIncludedPath">Included paths of the client encryption policy.</param>
/// <param name="partitionKeyPathTokens">Tokens corresponding to validated partition key.</param>
private static void ValidatePartitionKeyPathsAreNotEncrypted(IEnumerable<ClientEncryptionIncludedPath> clientEncryptionIncludedPath, List<string> partitionKeyPathTokens)
{
Expand Down

0 comments on commit 07e0c4c

Please sign in to comment.