remove unused var rwLayerIDDirTemplate

Signed-off-by: Vishnu kannan <vishnuk@google.com>
This commit is contained in:
Vishnu kannan 2016-02-05 17:15:00 -08:00
parent 1f90271f42
commit 6a6abc19f4

View File

@ -87,9 +87,7 @@ func getRwLayerID(containerID, storageDir string, sd storageDriver, dockerVersio
const (
// Docker version >=1.10.0 have a randomized ID for the root fs of a container.
randomizedRWLayerMinorVersion = 10
// Directory where the file containinig the randomized ID of the root fs of a container is stored in versions >= 1.10.0
rwLayerIDDirTemplate = "image/%s/layerdb/mounts/"
rwLayerIDFile = "mount-id"
rwLayerIDFile = "mount-id"
)
if (dockerVersion[0] <= 1) && (dockerVersion[1] < randomizedRWLayerMinorVersion) {
return containerID, nil