MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / addMessage

Method addMessage

cmd/fibratus/app/rules/validate.go:37–42  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

35}
36
37func (w *warning) addMessage(msg string) {
38 if w.messages == nil {
39 w.messages = make([]string, 0)
40 }
41 w.messages = append(w.messages, msg)
42}
43
44func validateRules() error {
45 if err := bootstrap.InitConfigAndLogger(cfg); err != nil {

Callers 1

validateRulesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected