mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #5680 from alexlarsson/dm-remove-spew
devmapper: Remove accidental debug spew
This commit is contained in:
commit
8d3c5b7dca
1 changed files with 0 additions and 3 deletions
|
@ -340,8 +340,6 @@ func (devices *DeviceSet) loadMetadata(hash string) *DevInfo {
|
|||
return nil
|
||||
}
|
||||
|
||||
fmt.Printf("Loaded metadata %v\n", info)
|
||||
|
||||
// If the transaction id is larger than the actual one we lost the device due to some crash
|
||||
if info.TransactionId > devices.TransactionId {
|
||||
return nil
|
||||
|
@ -352,7 +350,6 @@ func (devices *DeviceSet) loadMetadata(hash string) *DevInfo {
|
|||
|
||||
func (devices *DeviceSet) setupBaseImage() error {
|
||||
oldInfo, _ := devices.lookupDevice("")
|
||||
utils.Debugf("oldInfo: %p", oldInfo)
|
||||
if oldInfo != nil && oldInfo.Initialized {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue