projects
/
osm
/
osmclient.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug 1230: show Helm and Juju status when listing K8s clusters
[osm/osmclient.git]
/
osmclient
/
v1
/
client.py
diff --git
a/osmclient/v1/client.py
b/osmclient/v1/client.py
index
7a332eb
..
ba765e1
100644
(file)
--- a/
osmclient/v1/client.py
+++ b/
osmclient/v1/client.py
@@
-27,6
+27,7
@@
from osmclient.v1 import package
from osmclient.v1 import vca
from osmclient.v1 import utils
from osmclient.common import http
from osmclient.v1 import vca
from osmclient.v1 import utils
from osmclient.common import http
+from osmclient.common import package_tool
class Client(object):
class Client(object):
@@
-102,6
+103,7
@@
class Client(object):
**kwargs)
self.vca = vca.Vca(http_client, client=self, **kwargs)
self.utils = utils.Utils(http_client, **kwargs)
**kwargs)
self.vca = vca.Vca(http_client, client=self, **kwargs)
self.utils = utils.Utils(http_client, **kwargs)
+ self.package_tool = package_tool.PackageTool(client=self)
@property
def so_rbac_project_path(self):
@property
def so_rbac_project_path(self):
@@
-120,7
+122,7
@@
class Client(object):
# SO Version 5.x.x.x.x translates to OSM V3
return 'v3'
return 'v2'
# SO Version 5.x.x.x.x translates to OSM V3
return 'v3'
return 'v2'
- except Exception
as e
:
+ except Exception:
return 'v2'
return 'v2'