@@ -43,27 +43,27 @@ func (s *PartialResult) String() string {
43
43
return fmt .Sprintf ("[%s] %s|%s" , check .StatusText (s .State ), s .Output , s .Perfdata .String ())
44
44
}
45
45
46
- // Deprecate this in a future version
46
+ // Deprecated: Will be removed in a future version, use Add() instead
47
47
func (o * Overall ) AddOK (output string ) {
48
48
o .Add (check .OK , output )
49
49
}
50
50
51
- // Deprecate this in a future version
51
+ // Deprecated: Will be removed in a future version, use Add() instead
52
52
func (o * Overall ) AddWarning (output string ) {
53
53
o .Add (check .Warning , output )
54
54
}
55
55
56
- // Deprecate this in a future version
56
+ // Deprecated: Will be removed in a future version, use Add() instead
57
57
func (o * Overall ) AddCritical (output string ) {
58
58
o .Add (check .Critical , output )
59
59
}
60
60
61
- // Deprecate this in a future version
61
+ // Deprecated: Will be removed in a future version, use Add() instead
62
62
func (o * Overall ) AddUnknown (output string ) {
63
63
o .Add (check .Unknown , output )
64
64
}
65
65
66
- // Add State
66
+ // Add State explicitely
67
67
// Hint: This will set stateSetExplicitely to true
68
68
func (o * Overall ) Add (state int , output string ) {
69
69
switch state {
0 commit comments