code comments incorrectness
Closes-Bug: #1674259 Change-Id: I5318bc274832b316c017df087f06bb4254a270e1
This commit is contained in:
parent
779562eaa3
commit
65a2c63acf
|
@ -118,8 +118,8 @@ def get_datastore(session, cluster, datastore_regex=None,
|
|||
"get_object_property",
|
||||
cluster,
|
||||
"datastore")
|
||||
# If there are no hosts in the cluster then an empty string is
|
||||
# returned
|
||||
# If there are no datastores in the cluster then an exception is
|
||||
# raised
|
||||
if not datastore_ret:
|
||||
raise exception.DatastoreNotFound()
|
||||
|
||||
|
|
Loading…
Reference in New Issue