瀏覽代碼

Merge pull request #23074 from jstarks/fix_windows_graph_name

Windows: fix Windows graph driver name
Brian Goff 9 年之前
父節點
當前提交
e0ee0ac789
共有 1 個文件被更改,包括 3 次插入2 次删除
  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.