diff --git a/libnetwork/internal/kvstore/kvstore.go b/libnetwork/internal/kvstore/kvstore.go index 26b9af75ff..1efeb8e44a 100644 --- a/libnetwork/internal/kvstore/kvstore.go +++ b/libnetwork/internal/kvstore/kvstore.go @@ -46,7 +46,7 @@ type Config struct { } // ClientTLSConfig contains data for a Client TLS configuration in the form -// the etcd client wants it. Eventually we'll adapt it for ZK and Consul. +// the etcd client wants it. Eventually we'll adapt it for ZK and Consul. type ClientTLSConfig struct { CertFile string KeyFile string @@ -108,7 +108,8 @@ type KVPair struct { // WriteOptions contains optional request parameters type WriteOptions struct { - TTL time.Duration + IsDir bool + TTL time.Duration } // LockOptions contains optional request parameters