Register volume migration mutation
parent
bb99c2ba58
commit
130ab61d4b
|
@ -78,6 +78,7 @@ class StorageMutations:
|
||||||
success=False, code=409, message="Volume not unmounted (already unmounted?)"
|
success=False, code=409, message="Volume not unmounted (already unmounted?)"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@strawberry.mutation(permission_classes=[IsAuthenticated])
|
||||||
def migrate_to_binds(self, input: MigrateToBindsInput) -> GenericJobButationReturn:
|
def migrate_to_binds(self, input: MigrateToBindsInput) -> GenericJobButationReturn:
|
||||||
"""Migrate to binds"""
|
"""Migrate to binds"""
|
||||||
if not is_bind_migrated():
|
if not is_bind_migrated():
|
||||||
|
|
Loading…
Reference in New Issue