code comments incorrectness

Closes-Bug: #1674259

Change-Id: I5318bc274832b316c017df087f06bb4254a270e1
This commit is contained in:
Zhou Jianming 2017-03-23 11:12:47 +08:00 committed by Sean Dague
parent 779562eaa3
commit 65a2c63acf
1 changed files with 2 additions and 2 deletions

View File

@ -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()