Merge pull request #1099 from vishh/remove-unused-var
remove unused var rwLayerIDDirTemplate
This commit is contained in:
commit
960b4e99e3
@ -87,9 +87,7 @@ func getRwLayerID(containerID, storageDir string, sd storageDriver, dockerVersio
|
|||||||
const (
|
const (
|
||||||
// Docker version >=1.10.0 have a randomized ID for the root fs of a container.
|
// Docker version >=1.10.0 have a randomized ID for the root fs of a container.
|
||||||
randomizedRWLayerMinorVersion = 10
|
randomizedRWLayerMinorVersion = 10
|
||||||
// Directory where the file containinig the randomized ID of the root fs of a container is stored in versions >= 1.10.0
|
rwLayerIDFile = "mount-id"
|
||||||
rwLayerIDDirTemplate = "image/%s/layerdb/mounts/"
|
|
||||||
rwLayerIDFile = "mount-id"
|
|
||||||
)
|
)
|
||||||
if (dockerVersion[0] <= 1) && (dockerVersion[1] < randomizedRWLayerMinorVersion) {
|
if (dockerVersion[0] <= 1) && (dockerVersion[1] < randomizedRWLayerMinorVersion) {
|
||||||
return containerID, nil
|
return containerID, nil
|
||||||
|
Loading…
Reference in New Issue
Block a user