Merge pull request #400 from QthCN/fix/readme_err

FIX incorrect usage about libnetwork.New() in README.md
This commit is contained in:
Jana Radhakrishnan 2015-07-20 14:46:24 -07:00
commit 27385b21be
1 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,10 @@ There are many networking solutions available to suit a broad range of use-cases
```go
// Create a new controller instance
controller := libnetwork.New()
controller, err := libnetwork.New()
if err != nil {
return
}
// Select and configure the network driver
networkType := "bridge"