Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Feb 4, 2022
1 parent 2837f13 commit e80cad3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/storage/utils/decomposedfs/node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,13 @@ var _ = Describe("Node", func() {
User: env.Owner.Id,
LockId: "foo",
}
n.SetLock(env.Ctx, lock)
err := n.SetLock(env.Ctx, lock)
Expect(err).ToNot(HaveOccurred())

perms := node.OwnerPermissions()
ri, err := n.AsResourceInfo(env.Ctx, &perms, []string{}, false)
Expect(err).ToNot(HaveOccurred())
Expect(ri.Opaque).ToNot(BeNil())
Expect(ri.Opaque.Map["lock"]).ToNot(BeNil())

storedLock := &provider.Lock{}
Expand Down

0 comments on commit e80cad3

Please sign in to comment.