Skip to content

Commit 5900361

Browse files
authored
Merge pull request containerd#2420 from sudeeshjohn/master
Fixing the formatting directives error during compilation
2 parents 0b0b412 + 5a4f007 commit 5900361

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/containerd-release/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This tool should be ran from the root of the project repository for a new releas
9494
if err != nil {
9595
return err
9696
}
97-
logrus.Info("Welcome to the %s release tool...", r.ProjectName)
97+
logrus.Infof("Welcome to the %s release tool...", r.ProjectName)
9898
previous, err := getPreviousDeps(r.Previous)
9999
if err != nil {
100100
return err

metadata/content_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func checkContentLeased(ctx context.Context, db *DB, dgst digest.Digest) error {
134134
return db.View(func(tx *bolt.Tx) error {
135135
bkt := getBucket(tx, bucketKeyVersion, []byte(ns), bucketKeyObjectLeases, []byte(lease), bucketKeyObjectContent)
136136
if bkt == nil {
137-
return errors.Wrapf(errdefs.ErrNotFound, "bucket not found", lease)
137+
return errors.Wrapf(errdefs.ErrNotFound, "bucket not found %s", lease)
138138
}
139139
v := bkt.Get([]byte(dgst.String()))
140140
if v == nil {

0 commit comments

Comments
 (0)