libnetwork/drivers/overlay: Register does not require DriverCallback
This function was not using the DriverCallback interface, and only required the Registerer interface. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a718ccd0c5
commit
97285711f3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func Init(dc driverapi.DriverCallback, _ map[string]interface{}) error {
|
|||
}
|
||||
|
||||
// Register registers a new instance of the overlay driver.
|
||||
func Register(r driverapi.DriverCallback, _ map[string]interface{}) error {
|
||||
func Register(r driverapi.Registerer, _ map[string]interface{}) error {
|
||||
var err error
|
||||
c := driverapi.Capability{
|
||||
DataScope: datastore.GlobalScope,
|
||||
|
|
Loading…
Add table
Reference in a new issue