Skip to content

Commit

Permalink
a/snapasserts: make some doc comments better
Browse files Browse the repository at this point in the history
Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
  • Loading branch information
andrewphelpsj and MiguelPires authored Sep 23, 2024
1 parent 83df5ed commit 70e831c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asserts/snapasserts/validation_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ type componentConstraints struct {
}

type constraints struct {
// name is the name of the snap or component that is being constrained
// name of the snap or component that is being constrained
name string
// presence is the allowed presence of the snap or component, considering
// presence of the snap or component, considering
// all of the constraints that impact it. if any of the constraints are in
// conflict, the presence is set to presConflict.
presence asserts.Presence
Expand Down

0 comments on commit 70e831c

Please sign in to comment.