docs(judgement,events): state comments plainly
This commit is contained in:
12 files changed
+37
-35
No files matched your search
@@ -102,10 +102,9 @@ func (m Mapping) Validate() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Failure describes one field that did not resolve cleanly against a payload --
|
||||
// named by field and path so the operator knows exactly what drifted. Value is
|
||||
// what the payload held at the path when the field was found with the wrong
|
||||
// type; it is absent when the field is missing or null.
|
||||
// Failure describes one mapping field that did not resolve against a payload.
|
||||
// Value is the value found at Path when it has the wrong type. It is empty when
|
||||
// the field is missing or null.
|
||||
type Failure struct {
|
||||
FieldName string `json:"field_name"`
|
||||
Path string `json:"path"`
|
||||
|
||||
Reference in new issue
Block a user