Skip to content

Commit

Permalink
Merge pull request #510 from beer-garden/unknown_garden_version
Browse files Browse the repository at this point in the history
Update Default Garden Version
  • Loading branch information
TheBurchLog authored Sep 23, 2024
2 parents 9776051 + 4db3c13 commit 21f529e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TBD

- Updated Plugin `max_concurrent` to support -1 to utilize the default formula that `concurrent.futures.ThreadPoolExecutor` supports `min(32, os.cpu_count() + 4)`
- Updated SystemClient to utilize the local Garden name for default Namespace if none can be determined
- Updated default Garden version to `UNKNOWN`

3.27.2
------
Expand Down
4 changes: 3 additions & 1 deletion brewtils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ def __init__(
metadata=None,
default_user=None,
shared_users=None,
version="0.0.0",
version=None,
):
self.id = id
self.name = name
Expand All @@ -1532,6 +1532,8 @@ def __init__(
self.shared_users = shared_users

self.version = version
if self.version is None:
self.version = "UNKNOWN"

def __str__(self):
return "%s" % self.name
Expand Down

0 comments on commit 21f529e

Please sign in to comment.