Skip to content

Commit

Permalink
* [apiclient] fix default version bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lanfon72 committed Nov 23, 2023
1 parent 4413576 commit 91c820e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiclient/harvester_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def cluster_version(self):
def __repr__(self):
return f"HarvesterAPI({self.endpoint!r}, {self.session.headers['Authorization']!r})"

def load_managers(self, version=""):
def load_managers(self, version="0.0.0"):
self.hosts = mgrs.HostManager.for_version(version)(self, version)
self.keypairs = mgrs.KeypairManager.for_version(version)(self, version)
self.images = mgrs.ImageManager.for_version(version)(self, version)
Expand Down

0 comments on commit 91c820e

Please sign in to comment.