mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-12 16:02:56 +00:00
fix: point the sync note at the hub sync button only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
985c08f78e
commit
8eec70a3ab
@@ -99,7 +99,7 @@ function warnIfNotSyncedWithHub(resourceTypes: ResourceType[]) {
|
||||
const count = new Set(resourceTypes.map((rt) => rt.name)).size;
|
||||
if (count < UNSYNCED_RESOURCE_TYPE_COUNT) {
|
||||
log.warnAlways(
|
||||
`Only ${count} resource types exist on this instance, so it has most likely never synced with the Windmill Hub, which has types for most services. A superadmin can sync resource types from the hub with "Sync resource types with Hub" in the Add resource dialog of the Resources page, or by running the u/admin/hub_sync script in the admins workspace.`
|
||||
`Only ${count} resource types exist on this instance, so it has most likely never synced with the Windmill Hub, which has types for most services. A superadmin can sync resource types from the hub with "Sync resource types with Hub" in the Add resource dialog of the Resources page.`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1712,7 +1712,7 @@ function parseResourceTypeSchema(schema: unknown): unknown {
|
||||
}
|
||||
|
||||
export const HUB_SYNC_INSTRUCTIONS =
|
||||
'A superadmin can sync resource types from the hub with "Sync resource types with Hub" in the Add resource dialog of the Resources page, or by running the u/admin/hub_sync script in the admins workspace.'
|
||||
'A superadmin can sync resource types from the hub with "Sync resource types with Hub" in the Add resource dialog of the Resources page.'
|
||||
|
||||
async function missingResourceTypesNote(
|
||||
workspace: string,
|
||||
|
||||
Reference in New Issue
Block a user