Skip to content

Commit 445620f

Browse files
committed
Simplify function signature
Signed-off-by: Dennis Chen <barracks510@gmail.com>
1 parent 8658748 commit 445620f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/graphdriver/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func getBuiltinDriver(name, home string, options []string, uidMaps, gidMaps []id
156156
}
157157

158158
// New creates the driver and initializes it at the specified root.
159-
func New(root string, name string, options []string, uidMaps, gidMaps []idtools.IDMap, pg plugingetter.PluginGetter) (Driver, error) {
159+
func New(root, name string, options []string, uidMaps, gidMaps []idtools.IDMap, pg plugingetter.PluginGetter) (Driver, error) {
160160
if name != "" {
161161
logrus.Debugf("[graphdriver] trying provided driver: %s", name) // so the logs show specified driver
162162
return GetDriver(name, root, options, uidMaps, gidMaps, pg)

0 commit comments

Comments
 (0)