Skip to content

Commit c404a3e

Browse files
Updated with comments
1 parent 5b02d12 commit c404a3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/rest_api/file_security_permissions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
def get_file_security_permissions(cluster: str, headers_inc: str):
32-
""" Retrieving summary of all portsets in the cluster"""
32+
""" Retrieving file security permissions"""
3333
print()
3434
print("=======================================")
3535
print(" Getting File Security Permissions ")
@@ -261,9 +261,9 @@ def patch_file_permissions(cluster: str, headers_inc: str):
261261
def file_permissions(cluster: str, headers_inc: str):
262262
"""Demonstrates File security permission operations"""
263263
print()
264-
print("THE FOLLOWING SCRIPT SHOWS PORTSET OPERATIONS USING REST API.")
264+
print("THE SCRIPT SHOWS FILE SECURITY PERMISSIONS USING REST API.")
265265
print("==================================================================")
266-
print("Choose the Portset operation?")
266+
print("Choose the operation?")
267267
snapshotbool = input(
268268
"\n1.list \n2.create \n3.update \n4.delete \n\n[enter option]: ")
269269
if snapshotbool == '1':
@@ -281,7 +281,7 @@ def main() -> None:
281281
arguments = [
282282
Argument("-c", "--cluster", "API server IP:port details")]
283283
args = parse_args(
284-
"Demonstrates Snapshot Operations using REST API.", arguments,
284+
"Demonstrates file security Operations using REST API.", arguments,
285285
)
286286
setup_logging()
287287
headers = setup_connection(args.api_user, args.api_pass)

0 commit comments

Comments
 (0)