Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8ba6388

Browse files
jhendrixMSFTamarzavery
authored andcommitted
Fix incorrect model type for datalake-store dataplane. (Azure#2263)
In AclStatus the permission property is incorrectly modeled; it's an octal value that comes across the wire as a string.
1 parent 6e3e424 commit 8ba6388

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/Adls_FileSystem_GetAclStatus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"group": "test_group",
1616
"owner": "test_owner",
17-
"permission": 1,
17+
"permission": "1",
1818
"stickyBit": false
1919
}
2020
}

specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,8 +1488,7 @@
14881488
"description": "the user owner, an AAD Object ID."
14891489
},
14901490
"permission": {
1491-
"type": "integer",
1492-
"format": "int32",
1491+
"type": "string",
14931492
"description": "The octal representation of the unnamed user, mask and other permissions."
14941493
},
14951494
"stickyBit": {

0 commit comments

Comments
 (0)