fix(deps): upgrade core tooling dependencies and adapt Docker client internals for compatibility
This commit is contained in:
@@ -72,12 +72,12 @@ export class DockerSecret extends DockerResource {
|
||||
}
|
||||
|
||||
// INSTANCE PROPERTIES
|
||||
public ID: string;
|
||||
public Spec: {
|
||||
public ID!: string;
|
||||
public Spec!: {
|
||||
Name: string;
|
||||
Labels: interfaces.TLabels;
|
||||
};
|
||||
public Version: {
|
||||
public Version!: {
|
||||
Index: string;
|
||||
};
|
||||
|
||||
@@ -101,7 +101,6 @@ export class DockerSecret extends DockerResource {
|
||||
* Updates a secret
|
||||
*/
|
||||
public async update(contentArg: string) {
|
||||
const route = `/secrets/${this.ID}/update?=version=${this.Version.Index}`;
|
||||
const response = await this.dockerHost.request(
|
||||
'POST',
|
||||
`/secrets/${this.ID}/update?version=${this.Version.Index}`,
|
||||
|
||||
Reference in New Issue
Block a user