Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog authored Jul 10, 2024
1 parent 0ea6750 commit 3e28598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions brewtils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def __init__(
self.description = description
self.id = id
self.status = status.upper() if status else None
self.status_info = status_info
self.status_info = status_info if status_info else StatusInfo()
self.queue_type = queue_type
self.queue_info = queue_info or {}
self.icon_name = icon_name
Expand Down Expand Up @@ -1518,7 +1518,7 @@ def __init__(
self.id = id
self.name = name
self.status = status.upper() if status else None
self.status_info = status_info
self.status_info = status_info if status_info else StatusInfo()
self.namespaces = namespaces or []
self.systems = systems or []

Expand Down Expand Up @@ -1575,7 +1575,7 @@ def __init__(
):
self.api = api
self.status = status
self.status_info = status_info
self.status_info = status_info if status_info else StatusInfo()
self.config = config or {}

def __str__(self):
Expand Down

0 comments on commit 3e28598

Please sign in to comment.