Skip to content

Commit f313de4

Browse files
committed
fix: Make project optional when creating container registry
1 parent 269aa50 commit f313de4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/manager/graphql-reference/schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ type Mutation {
24422442
password: String
24432443

24442444
"""Added in 24.09.0."""
2445-
project: String!
2445+
project: String
24462446

24472447
"""Added in 24.09.0."""
24482448
registry_name: String!

docs/manager/graphql-reference/supergraph.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4552,7 +4552,7 @@ type Mutation
45524552
password: String
45534553

45544554
"""Added in 24.09.0."""
4555-
project: String!
4555+
project: String
45564556

45574557
"""Added in 24.09.0."""
45584558
registry_name: String!

src/ai/backend/manager/models/gql_models/container_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class Arguments:
315315
)
316316
registry_name = graphene.String(required=True, description="Added in 24.09.0.")
317317
is_global = graphene.Boolean(description="Added in 24.09.0.")
318-
project = graphene.String(required=True, description="Added in 24.09.0.")
318+
project = graphene.String(description="Added in 24.09.0.")
319319
username = graphene.String(description="Added in 24.09.0.")
320320
password = graphene.String(description="Added in 24.09.0.")
321321
ssl_verify = graphene.Boolean(description="Added in 24.09.0.")

0 commit comments

Comments
 (0)