fix: container name in add worker

This commit is contained in:
jialin
2025-12-17 14:59:07 +08:00
parent 6968f9fa6b
commit bd46fcdc75
22 changed files with 332 additions and 207 deletions
+1
View File
@@ -184,6 +184,7 @@ export interface CatalogItem {
name: string;
id: number;
description: string;
deployment_notes?: string;
home: string;
icon: string;
categories: string[];
+10 -5
View File
@@ -271,15 +271,20 @@ export const useCheckCompatibility = () => {
// current cluster is not available, but other clusters are available
const othersAvailable = !hasClaim && resourceClaimMap.size > 0;
let compatibilityMessage = compatibility_messages.join(' ');
compatibilityMessage = compatibilityMessage.startsWith(
'The model file path you specified does not exist on the GPUStack server'
)
? intl.formatMessage({ id: 'models.form.modelfile.notfound' })
: compatibilityMessage;
let msgData = {
title:
scheduling_messages?.length > 0
? compatibility_messages?.join(' ')
: '',
title: scheduling_messages?.length > 0 ? compatibilityMessage : '',
message:
scheduling_messages?.length > 0
? scheduling_messages
: compatibility_messages?.join(' ')
: compatibilityMessage
};
if (hasClaim) {