Fix rootfs error message extra format variable

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan 2017-06-28 11:58:28 -07:00
parent 4ba4f3a1d5
commit 5b105f86ce
No known key found for this signature in database
GPG Key ID: F58C5D0A4405ACDB

View File

@ -63,7 +63,7 @@ func applyLayer(ctx context.Context, layer Layer, chain []digest.Digest, sn snap
if err != nil { if err != nil {
log.G(ctx).WithError(err).WithField("key", key).Infof("Apply failure, attempting cleanup") log.G(ctx).WithError(err).WithField("key", key).Infof("Apply failure, attempting cleanup")
if rerr := sn.Remove(ctx, key); rerr != nil { if rerr := sn.Remove(ctx, key); rerr != nil {
log.G(ctx).WithError(rerr).Warnf("Extraction snapshot %q removal failed: %v", key) log.G(ctx).WithError(rerr).Warnf("Extraction snapshot %q removal failed", key)
} }
} }
}() }()