Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Apr 18, 2024
1 parent ffe40d1 commit e6f41f1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runner_manager/models/runner_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ def __str__(self) -> str:
f"current: {len(self.get_runners())}, queued: {self.queued})"
)

# When this class is initiated I want to setup the var self.backend.manager
# with the correct self.manager value as well as backend.runner_group to self.name
@root_validator
@root_validator(skip_on_failure=True)
def setup_backend(cls, values):
values["backend"].manager = values["manager"]
values["backend"].runner_group = values["name"]
Expand Down

0 comments on commit e6f41f1

Please sign in to comment.