Skip to content

Commit dc0c7f5

Browse files
committed
updates for the ACL to be both by name and the one pipeline object.
1 parent a916c7b commit dc0c7f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/RemoveAzureRmDataLakeStoreItemAclEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class RemoveAzureDataLakeStoreItemAclEntry : DataLakeStoreFileSystemCmdle
5151
[ValidateNotNull]
5252
public DataLakeStorePathInstance Path { get; set; }
5353

54-
[Parameter(ValueFromPipelineByPropertyName = true, ParameterSetName = BaseParameterSetName, Position = 2,
54+
[Parameter(ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, ParameterSetName = BaseParameterSetName, Position = 2,
5555
Mandatory = true,
5656
HelpMessage =
5757
"The ACL spec containing the entries to remove. These entries MUST exist in the ACL spec for the file already. This can be a modified ACL from Get-AzureDataLakeStoreItemAcl or it can be the string " +

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/SetAzureRmDataLakeStoreItemAcl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class SetAzureDataLakeStoreItemAcl : DataLakeStoreFileSystemCmdletBase
3838
[ValidateNotNull]
3939
public DataLakeStorePathInstance Path { get; set; }
4040

41-
[Parameter(ValueFromPipeline = true, Position = 2, Mandatory = true,
41+
[Parameter(ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, Position = 2, Mandatory = true,
4242
HelpMessage =
4343
"The ACL to set. This can be a modified ACL from Get-AzureDataLakeStoreItemAcl or it can be the string " +
4444
" representation of an ACL as defined in the apache webhdfs specification. Note that this is only supported for named ACEs." +

src/ResourceManager/DataLakeStore/Commands.DataLakeStore/Commands/SetAzureRmDataLakeStoreItemAclEntry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class SetAzureDataLakeStoreItemAclEntry : DataLakeStoreFileSystemCmdletBa
5050
[ValidateNotNull]
5151
public DataLakeStorePathInstance Path { get; set; }
5252

53-
[Parameter(ValueFromPipeline = true, ParameterSetName = BaseParameterSetName, Position = 2,
53+
[Parameter(ValueFromPipelineByPropertyName = true, ValueFromPipeline = true, ParameterSetName = BaseParameterSetName, Position = 2,
5454
Mandatory = true,
5555
HelpMessage =
5656
"The ACL spec containing the entries to set. These entries MUST exist in the ACL spec for the file already. This can be a modified ACL from Get-AzureDataLakeStoreItemAcl or it can be the string " +

0 commit comments

Comments
 (0)