mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix typo in devmapper error message
This commit is contained in:
parent
efaf2cac5c
commit
029625981d
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ func (devices *DeviceSet) allocateTransactionId() uint64 {
|
|||
func (devices *DeviceSet) saveMetadata() error {
|
||||
jsonData, err := json.Marshal(devices.MetaData)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error encoding metaadata to json: %s", err)
|
||||
return fmt.Errorf("Error encoding metadata to json: %s", err)
|
||||
}
|
||||
tmpFile, err := ioutil.TempFile(filepath.Dir(devices.jsonFile()), ".json")
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue