Skip to content

Commit

Permalink
a/snapasserts: fix doc comment
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Pires <[email protected]>
  • Loading branch information
andrewphelpsj and miguelpires authored Oct 16, 2024
1 parent d139fc4 commit 98183e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asserts/snapasserts/validation_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ func (s *SnapPresence) RequiredComponents() map[string]presence {

// Presence returns a SnapPresence for the given snap. The returned struct
// contains information about the allowed presence of the snap, with respect to
// the validation sets that are known to this ValidationSets. if the snap is not
// the validation sets that are known to this ValidationSets. If the snap is not
// constrained by any validation sets, the presence will be considered optional.
func (v *ValidationSets) Presence(sn naming.SnapRef) (SnapPresence, error) {
// if this is true, then calling code has a bug
Expand Down

0 comments on commit 98183e9

Please sign in to comment.