overlay: use Itoa instead of Sprintf("%d")
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
e5de483a85
commit
689ee947fa
|
|
@ -1575,7 +1575,7 @@ func (d *Driver) get(id string, disableShifting bool, options graphdriver.MountO
|
|||
return "", fmt.Errorf("cannot mount a composefs layer as writeable")
|
||||
}
|
||||
|
||||
dest := filepath.Join(composeFsLayersDir, fmt.Sprintf("%d", i))
|
||||
dest := filepath.Join(composeFsLayersDir, strconv.Itoa(i))
|
||||
if err := os.MkdirAll(dest, 0o700); err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue