Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WrapWarning (0.11 sec)

  1. pkg/config/validation/agent/validation.go

    	return v.Warning, v.Err
    }
    
    func (v Validation) Error() string {
    	if v.Err == nil {
    		return ""
    	}
    	return v.Err.Error()
    }
    
    // WrapWarning turns an error into a Validation as a warning
    func WrapWarning(e error) Validation {
    	return Validation{Warning: e}
    }
    
    // wrapper around multierror.Append that enforces the invariant that if all input errors are nil, the output
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
Back to top