Skip to content

Commit

Permalink
fix: Unify project field in ContainerRegistry types to be a list …
Browse files Browse the repository at this point in the history
…of string (#1636)
  • Loading branch information
rapsealk authored Oct 23, 2023
1 parent a38d403 commit 77c54cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/1636.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unify each `project` field in GraphQL types `ContainerRegistry` to be a list of string.
4 changes: 2 additions & 2 deletions src/ai/backend/manager/models/etcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
class CreateContainerRegistryInput(graphene.InputObjectType):
url = graphene.String(required=True)
type = graphene.String(required=True)
project = graphene.String()
project = graphene.List(graphene.String)
username = graphene.String()
password = graphene.String()
ssl_verify = graphene.Boolean()
Expand All @@ -37,7 +37,7 @@ class CreateContainerRegistryInput(graphene.InputObjectType):
class ModifyContainerRegistryInput(graphene.InputObjectType):
url = graphene.String(required=True)
type = graphene.String(required=True)
project = graphene.String()
project = graphene.List(graphene.String)
username = graphene.String()
password = graphene.String()
ssl_verify = graphene.Boolean()
Expand Down

0 comments on commit 77c54cf

Please sign in to comment.