Skip to content

Commit

Permalink
Merge pull request #2436 from thaJeztah/fix_gofmt
Browse files Browse the repository at this point in the history
Workaround for gofmt change in Go 1.11
  • Loading branch information
crosbymichael committed Jul 17, 2018
2 parents fb1084d + 383d750 commit e17969c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/testsuite/testsuite.go
Expand Up @@ -367,6 +367,7 @@ func checkLabels(ctx context.Context, t *testing.T, cs content.Store) {
labels := map[string]string{
"k1": "v1",
"k2": "v2",

"containerd.io/gc.root": rootTime,
}

Expand Down Expand Up @@ -403,6 +404,7 @@ func checkLabels(ctx context.Context, t *testing.T, cs content.Store) {

info.Labels = map[string]string{
"k1": "v1",

"containerd.io/gc.root": rootTime,
}
preUpdate = time.Now()
Expand Down
2 changes: 2 additions & 0 deletions snapshots/testsuite/testsuite.go
Expand Up @@ -684,6 +684,7 @@ func checkUpdate(ctx context.Context, t *testing.T, snapshotter snapshots.Snapsh
expected = map[string]string{
"l1": "updated",
"l3": "v3",

"containerd.io/gc.root": rootTime,
}
st.Labels = map[string]string{
Expand All @@ -698,6 +699,7 @@ func checkUpdate(ctx context.Context, t *testing.T, snapshotter snapshots.Snapsh

expected = map[string]string{
"l4": "v4",

"containerd.io/gc.root": rootTime,
}
st.Labels = expected
Expand Down

0 comments on commit e17969c

Please sign in to comment.