Skip to content

Commit

Permalink
t/l/f/store: remove superfluous .String() call
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewphelpsj committed Dec 20, 2024
1 parent 54fce9d commit a5a78c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/fakestore/store/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ func (rs *revisionSet) add(rev snap.Revision, path string) {
func (rs *revisionSet) addComponent(name string, compRev snap.Revision, path string, snapRev snap.Revision) error {
sn, ok := rs.revisions[snapRev]
if !ok {
return fmt.Errorf("cannot find snap revision %q", snapRev.String())
return fmt.Errorf("cannot find snap revision %q", snapRev)
}

sn.components[name] = availableComponent{path: path, revision: compRev}
Expand Down

0 comments on commit a5a78c7

Please sign in to comment.