mirror of
https://github.com/docker/cli.git
synced 2026-01-22 03:22:01 +03:00
Merge pull request #5680 from alexlarsson/dm-remove-spew
devmapper: Remove accidental debug spew Upstream-commit: 8d3c5b7dcaf5fb0e7084adac969bfbe75f3bbaeb Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user