diff --git a/libnetwork/internal/kvstore/kvstore.go b/libnetwork/internal/kvstore/kvstore.go index 26b9af75ff1b7cfe1dd20f9f023269cc9f50927f..1efeb8e44aa1da0dbbe69885371fef3a6adb1b26 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