diff --git a/controller/persistence/migration_v4.go b/controller/persistence/migration_v4.go index 8c252cd7a..3d18f0c5d 100644 --- a/controller/persistence/migration_v4.go +++ b/controller/persistence/migration_v4.go @@ -103,7 +103,7 @@ func createInitialTunnelerConfigs(mtx *MigrationContext) error { } hostnameSymbol := mtx.Stores.EdgeService.NewEntitySymbol(FieldServiceDnsHostname, ast.NodeTypeString) - portSymbol := mtx.Stores.EdgeService.NewEntitySymbol(FieldServiceDnsHostname, ast.NodeTypeInt64) + portSymbol := mtx.Stores.EdgeService.NewEntitySymbol(FieldServiceDnsPort, ast.NodeTypeInt64) for _, id := range ids { service, err := mtx.Stores.EdgeService.LoadOneById(mtx.Ctx.Tx(), id)