Skip to content

Commit 9ba4c2f

Browse files
committed
Fix migration tool failing to include datasource metadata
1 parent 68af9e7 commit 9ba4c2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: packages/server/bin/ldf-server-migrate-config-3x

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ function migrateConfig(configFile, updateFile) {
7878
... datasourceOld.description ? { datasourceDescription: datasourceOld.description } : {},
7979
... datasourceOld.license ? { license: datasourceOld.license } : {},
8080
... datasourceOld.licenseUrl ? { licenseUrl: datasourceOld.licenseUrl } : {},
81-
... datasourceOld.copyright ? { licenseUrl: datasourceOld.copyright } : {},
82-
... datasourceOld.homepage ? { licenseUrl: datasourceOld.homepage } : {},
83-
... datasourceOld.hide ? { licenseUrl: datasourceOld.hide } : {},
84-
... datasourceOld.enabled ? { licenseUrl: datasourceOld.enabled } : {},
81+
... datasourceOld.copyright ? { copyright: datasourceOld.copyright } : {},
82+
... datasourceOld.homepage ? { homepage: datasourceOld.homepage } : {},
83+
... datasourceOld.hide ? { hide: datasourceOld.hide } : {},
84+
... datasourceOld.enabled ? { enabled: datasourceOld.enabled } : {},
8585
... settings,
8686
});
8787
}

0 commit comments

Comments
 (0)