Browse Source

Merge pull request #23074 from jstarks/fix_windows_graph_name

Windows: fix Windows graph driver name
Brian Goff 9 năm trước cách đây
mục cha
commit
e0ee0ac789
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      daemon/graphdriver/windows/windows.go

+ 3 - 2
daemon/graphdriver/windows/windows.go

@@ -80,9 +80,10 @@ func InitFilter(home string, options []string, uidMaps, gidMaps []idtools.IDMap)
 	return d, nil
 }
 
-// String returns the string representation of a driver.
+// String returns the string representation of a driver. This should match
+// the name the graph driver has been registered with.
 func (d *Driver) String() string {
-	return "Windows filter storage driver"
+	return "windowsfilter"
 }
 
 // Status returns the status of the driver.