chore: access setting notes
This commit is contained in:
@@ -243,9 +243,6 @@ const ClusterCreate = () => {
|
||||
const info = await queryClusterToken({ id: res.id });
|
||||
setRegistrationInfo({
|
||||
...info,
|
||||
image: info.container_registry
|
||||
? `${info.container_registry}/${info.image}`
|
||||
: info.image,
|
||||
cluster_id: res.id
|
||||
});
|
||||
return true;
|
||||
|
||||
@@ -68,9 +68,6 @@ const AddWorker: React.FC<AddWorkerProps> = (props) => {
|
||||
firstLoad.current = false;
|
||||
setRegistrationInfo({
|
||||
...data,
|
||||
image: data.container_registry
|
||||
? `${data.container_registry}/${data.image}`
|
||||
: data.image,
|
||||
cluster_id: value
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user