Commit 3cad254
share: Fix nits in client creation
A follow-up to Ibb369de02e2e8de4d8925c3d6d11a8b7006c377f with the
following changes:
* Add a comment explaining why we're deferring imports
* Use the cached API version if available
* Reorder imports
* Bump the minimum version of manilaclient, allowing us to remove a
workaround for single digit version numbers
Change-Id: Ief08df571074bbe7f914dd10cb1a292f18daf881
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>1 parent e94c73c commit 3cad254Copy full SHA for 3cad254
2 files changed
+11-11Lines changed: 11 additions & 11 deletions
Expand file treeCollapse file tree
Open diff view settings
Collapse file
openstackclient/share/client.py
Copy file name to clipboardExpand all lines: openstackclient/share/client.py+10-10Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
20 | | - |
21 | | - |
22 | 19 | |
23 | 20 | |
24 | 21 | |
25 | 22 | |
26 | 23 | |
| 24 | + |
| 25 | + |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
48 | 47 | |
49 | | - |
| 48 | + |
| 49 | + |
50 | 50 | |
51 | 51 | |
52 | 52 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
14 | 14 | |
15 | 15 | |
0 commit comments