style: worker added info status
This commit is contained in:
@@ -147,7 +147,7 @@ const AddWorkerSteps: React.FC<AddWorkerProps> = (props) => {
|
|||||||
},
|
},
|
||||||
{ count: addedCount }
|
{ count: addedCount }
|
||||||
)}
|
)}
|
||||||
type="warning"
|
type="success"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Container>
|
</Container>
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ const AddWorker: React.FC<AddWorkerProps> = (props) => {
|
|||||||
},
|
},
|
||||||
{ count: addedCount }
|
{ count: addedCount }
|
||||||
)}
|
)}
|
||||||
type="warning"
|
type="success"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -100,12 +100,12 @@ const SpecifyArguments = () => {
|
|||||||
|
|
||||||
const containerNameConfig = summary.get('containerNameConfig') || {
|
const containerNameConfig = summary.get('containerNameConfig') || {
|
||||||
enable: true,
|
enable: true,
|
||||||
name: ''
|
name: 'gpustack-worker'
|
||||||
};
|
};
|
||||||
|
|
||||||
const gpustackDataVolumeConfig = summary.get('gpustackDataVolumeConfig') || {
|
const gpustackDataVolumeConfig = summary.get('gpustackDataVolumeConfig') || {
|
||||||
enable: true,
|
enable: true,
|
||||||
path: ''
|
path: 'gpustack-data'
|
||||||
};
|
};
|
||||||
|
|
||||||
const setWorkerIPConfig = (config: {
|
const setWorkerIPConfig = (config: {
|
||||||
@@ -182,12 +182,12 @@ const SpecifyArguments = () => {
|
|||||||
|
|
||||||
updateField('containerNameConfig', {
|
updateField('containerNameConfig', {
|
||||||
enable: true,
|
enable: true,
|
||||||
name: ''
|
name: 'gpustack-worker'
|
||||||
});
|
});
|
||||||
|
|
||||||
updateField('gpustackDataVolumeConfig', {
|
updateField('gpustackDataVolumeConfig', {
|
||||||
enable: true,
|
enable: true,
|
||||||
path: ''
|
path: 'gpustack-data'
|
||||||
});
|
});
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user