outposts: fix migration error
This commit is contained in:
@ -25,8 +25,8 @@ def migrate_to_service_connection(apps: Apps, schema_editor: BaseDatabaseSchemaE
|
|||||||
# Ensure that local connection have been created
|
# Ensure that local connection have been created
|
||||||
PassbookOutpostConfig.init_local_connection(None)
|
PassbookOutpostConfig.init_local_connection(None)
|
||||||
|
|
||||||
docker = DockerServiceConnection.objects.filter(local=True)
|
docker = DockerServiceConnection.objects.filter(local=True).first()
|
||||||
k8s = KubernetesServiceConnection.objects.filter(local=True)
|
k8s = KubernetesServiceConnection.objects.filter(local=True).first()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
for outpost in (
|
for outpost in (
|
||||||
|
|||||||
Reference in New Issue
Block a user