From 1f28387d217a8d107f72bd7c9cd37d0982af2126 Mon Sep 17 00:00:00 2001 From: Zhang Wei Date: Wed, 26 Aug 2015 00:41:32 +0800 Subject: [PATCH] fix typo Signed-off-by: Zhang Wei --- libnetwork/controller.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libnetwork/controller.go b/libnetwork/controller.go index 02a9f7eb2a..a20c1de9fe 100644 --- a/libnetwork/controller.go +++ b/libnetwork/controller.go @@ -17,7 +17,7 @@ create network namespaces and allocate interfaces for containers to use. } // Create a network for containers to join. - // NewNetwork accepts Variadic optional arguments that libnetwork and Drivers can make of + // NewNetwork accepts Variadic optional arguments that libnetwork and Drivers can make use of network, err := controller.NewNetwork(networkType, "network1") if err != nil { return @@ -32,8 +32,7 @@ create network namespaces and allocate interfaces for containers to use. return } - // A container can join the endpoint by providing the container ID to the join - // api. + // A container can join the endpoint by providing the container ID to the join api. // Join accepts Variadic arguments which will be made use of by libnetwork and Drivers err = ep.Join("container1", libnetwork.JoinOptionHostname("test"),