diff --git a/app/portainer/environments/environment.service/create.ts b/app/portainer/environments/environment.service/create.ts index 599cd95d0..d11f4cc33 100644 --- a/app/portainer/environments/environment.service/create.ts +++ b/app/portainer/environments/environment.service/create.ts @@ -189,7 +189,7 @@ export function createEdgeAgentEnvironment({ gpus, isEdgeDevice, pollFrequency, - ...meta, + meta, } ); } diff --git a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx index 62cd2590a..832fb1e09 100644 --- a/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx +++ b/app/react/portainer/environments/wizard/EnvironmentsCreationView/WizardDocker/SocketTab/SocketForm.tsx @@ -79,6 +79,7 @@ export function SocketForm({ onCreate }: Props) { name: values.name, socketPath: values.overridePath ? values.socketPath : '', gpus: values.gpus, + meta: values.meta, }, { onSuccess(environment) {