Skip to content

Commit

Permalink
Aling comments with current logic
Browse files Browse the repository at this point in the history
  • Loading branch information
davidegirardi committed Feb 11, 2025
1 parent 34f0f51 commit af51a8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ type config struct {
// RejectionCondition contains the fields that can match a bug report for it to be rejected.
// All the (optional) fields must match for the rejection condition to apply
type RejectionCondition struct {
// App name, checked only if not empty
// App name, applies only if not empty
App string `yaml:"app"`
// Version, checked only if not empty
// Version, applies only if not empty
Version string `yaml:"version"`
// Label, checked only if not empty
// Label, applies only if not empty
Label string `yaml:"label"`
// Message sent by the user, checked only if not empty
// Message sent by the user, applies only if not empty
UserTextMatch string `yaml:"usertext"`
// Send this text to the client-side to inform the user why the server rejects the rageshake. Uses a default generic value if empty.
Reason string `yaml:"reason"`
Expand Down

0 comments on commit af51a8a

Please sign in to comment.