Skip to content

Commit

Permalink
Fix bug in libnetwork option parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ofiliz committed Aug 12, 2017
1 parent 8acef7d commit 879d9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cnm/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (plugin *Plugin) DisableDiscovery() {

// ParseOptions returns generic options from a libnetwork request.
func (plugin *Plugin) ParseOptions(options OptionMap) OptionMap {
opt, _ := options[genericData].(OptionMap)
opt, _ := options[genericData].(map[string]interface{})
return opt
}

Expand Down

0 comments on commit 879d9e0

Please sign in to comment.