We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f640cce commit 4c19efcCopy full SHA for 4c19efc
hpecp/cli/datatap.py
@@ -55,6 +55,7 @@ def examples(self):
55
)
56
57
58
+ @base.intercept_exception
59
def create_hdfs_with_kerberos(
60
self,
61
name,
@@ -107,11 +108,11 @@ def create_hdfs_with_kerberos(
107
108
read_only : [type]
109
[description]
110
"""
- assert isinstance(
111
+ assert browse_only is not None and isinstance(
112
browse_only, bool
113
), "'browse-only' parameter must be 'true' or 'false'"
114
115
+ assert read_only is not None and isinstance(
116
read_only, bool
117
), "'read-only' parameter must be 'true' or 'false'"
118
0 commit comments