Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
f08ce603
Commit
f08ce603
authored
Dec 03, 2008
by
Guido Trotter
Browse files
LUAddNode: Check the correct result
This is a typo in the conversion to RpcResult Reviewed-by: imsnah
parent
4ce6007f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/cmdlib.py
View file @
f08ce603
...
...
@@ -2017,7 +2017,7 @@ class LUAddNode(LogicalUnit):
result
=
self
.
rpc
.
call_node_verify
(
node_verify_list
,
node_verify_param
,
self
.
cfg
.
GetClusterName
())
for
verifier
in
node_verify_list
:
if
result
.
failed
or
not
result
[
verifier
].
data
:
if
result
[
verifier
]
.
failed
or
not
result
[
verifier
].
data
:
raise
errors
.
OpExecError
(
"Cannot communicate with %s's node daemon"
" for remote verification"
%
verifier
)
if
result
[
verifier
].
data
[
'nodelist'
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment