parameter is wrong when update clusterhost state
the session parameter doesn't input when update clusterhost state Change-Id: Ie1d325722a49b6e3f54338fb15470c2c7cacf8dc Signed-off-by: baigk <baiguoku@huawei.com>
This commit is contained in:
parent
2fd269037e
commit
0a57fe8f4b
@ -2165,7 +2165,7 @@ def update_clusterhost_state_internal(
|
||||
clusterhost = _get_clusterhost(clusterhost_id, session=session)
|
||||
return _update_clusterhost_state(
|
||||
clusterhost, from_database_only=from_database_only,
|
||||
session=None, **kwargs
|
||||
session=session, **kwargs
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user