1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(docker/service): send registry id on update EE-2061 (#6606)

This commit is contained in:
sunportainer 2022-03-10 13:35:11 +08:00 committed by GitHub
parent 0f3c7b1424
commit 20405e9803
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 7 deletions

View file

@ -28,6 +28,7 @@ angular.module('portainer.docker').factory('Service', [
method: 'POST',
params: { id: '@id', action: 'update', version: '@version', rollback: '@rollback' },
headers: {
'X-Registry-Auth': (config) => btoa(JSON.stringify({ registryId: config.data.registryId })),
version: '1.29',
},
},