Use correct data structures for Config and Options in IPAM definition (#45441)

Co-authored-by: Jasper Jansen <jansen@voltolabs.com>
This commit is contained in:
Jasper 2020-06-12 20:01:44 +02:00 committed by GitHub
parent 7f7d42fd34
commit f3227e802f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -431,8 +431,8 @@ declare namespace Dockerode {
/* tslint:disable:interface-name */
interface IPAM {
Driver: string;
Config?: { [key: string]: string };
Options?: Array<{ [key: string]: string }>;
Config?: Array<{[key: string]: string }>;
Options?: { [key: string]: string };
}
/* tslint:enable:interface-name */