mirror of https://github.com/docker/docs.git
Merge pull request #2057 from dgageot/remove-dead-code
Remove dead code
This commit is contained in:
commit
1bfb34afd3
|
@ -1,21 +0,0 @@
|
|||
package drivers
|
||||
|
||||
type DriverOptionsMock struct {
|
||||
Data map[string]interface{}
|
||||
}
|
||||
|
||||
func (d DriverOptionsMock) String(key string) string {
|
||||
return d.Data[key].(string)
|
||||
}
|
||||
|
||||
func (d DriverOptionsMock) StringSlice(key string) []string {
|
||||
return d.Data[key].([]string)
|
||||
}
|
||||
|
||||
func (d DriverOptionsMock) Int(key string) int {
|
||||
return d.Data[key].(int)
|
||||
}
|
||||
|
||||
func (d DriverOptionsMock) Bool(key string) bool {
|
||||
return d.Data[key].(bool)
|
||||
}
|
Loading…
Reference in New Issue