Skip to content

Commit

Permalink
Set vsphere backend in runer group
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Mar 11, 2024
1 parent a760a3a commit 0cb5044
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner_manager/models/runner_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from runner_manager.backend.base import BaseBackend
from runner_manager.backend.docker import DockerBackend
from runner_manager.backend.gcloud import GCPBackend
from runner_manager.backend.vsphere import VsphereBackend
from runner_manager.clients.github import GitHub
from runner_manager.clients.github import RunnerGroup as GitHubRunnerGroup
from runner_manager.models.base import BaseModel
Expand Down Expand Up @@ -46,7 +47,7 @@ class BaseRunnerGroup(PydanticBaseModel):
labels: List[str]

backend: Annotated[
Union[BaseBackend, DockerBackend, GCPBackend, AWSBackend],
Union[BaseBackend, DockerBackend, GCPBackend, AWSBackend, VsphereBackend],
PydanticField(..., discriminator="name"),
]

Expand Down

0 comments on commit 0cb5044

Please sign in to comment.