Skip to content

Commit 01c4d8f

Browse files
committed
[squash] comments
1 parent f1a9a28 commit 01c4d8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

result/overall.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,27 @@ func (s *PartialResult) String() string {
4343
return fmt.Sprintf("[%s] %s|%s", check.StatusText(s.State), s.Output, s.Perfdata.String())
4444
}
4545

46-
// Deprecate this in a future version
46+
// Deprecated: Will be removed in a future version, use Add() instead
4747
func (o *Overall) AddOK(output string) {
4848
o.Add(check.OK, output)
4949
}
5050

51-
// Deprecate this in a future version
51+
// Deprecated: Will be removed in a future version, use Add() instead
5252
func (o *Overall) AddWarning(output string) {
5353
o.Add(check.Warning, output)
5454
}
5555

56-
// Deprecate this in a future version
56+
// Deprecated: Will be removed in a future version, use Add() instead
5757
func (o *Overall) AddCritical(output string) {
5858
o.Add(check.Critical, output)
5959
}
6060

61-
// Deprecate this in a future version
61+
// Deprecated: Will be removed in a future version, use Add() instead
6262
func (o *Overall) AddUnknown(output string) {
6363
o.Add(check.Unknown, output)
6464
}
6565

66-
// Add State
66+
// Add State explicitely
6767
// Hint: This will set stateSetExplicitely to true
6868
func (o *Overall) Add(state int, output string) {
6969
switch state {

0 commit comments

Comments
 (0)