Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because "not volume" will be True if volume id is 0.It can not distinguish 0 from None.The same to some other judgments where variable value may be 0. This patch also does the following changes: Deletes check storagepool in function _check_conf_file and adds check default iscsi target IP in function initialize_connection. Moves create host group from do_setup to initialize_connection. Changes _get_login_info to be _update_login_info. Fixes bug: 1160340 Change-Id: I0434b587d57c783f10d5724c4c66aea5df0b32e5
- Loading branch information
1 parent
8f9cb73
commit a3848ed
Showing
1 changed file
with
76 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters