[rubick] cli exception
This commit is contained in:
parent
f5c07c111a
commit
f63ccee112
|
@ -96,7 +96,7 @@ def rubick_cluster_add(name, description, host, key):
|
||||||
try:
|
try:
|
||||||
with open(key) as f:
|
with open(key) as f:
|
||||||
keyData = f.read()
|
keyData = f.read()
|
||||||
except Exception:
|
except IOError:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
request_payload = {
|
request_payload = {
|
||||||
|
|
Loading…
Reference in New Issue