func (m *MatchNot) Provision(ctx caddy.Context) error {
	matcherSets, err := ctx.LoadModule(m, "MatcherSetsRaw")
	if err != nil {
		return fmt.Errorf("loading matcher sets: %v", err)
	}
	for _, modMap := range matcherSets.([]map[string]interface{}) {
		var ms MatcherSet
		for _, modIface := range modMap {
			ms = append(ms, modIface.(RequestMatcher))
		}
		m.MatcherSets = append(m.MatcherSets, ms)
	}
	return nil
}
// Provision loads the matcher modules to be negated.
Provision loads the matcher modules to be negated.
// Provision loads the matcher modules to be negated .
func (m *MatchNot) Provision(ctx caddy.Context) error {
	matcherSets, err := ctx.LoadModule(m, "MatcherSetsRaw")
	if err != nil {
		return fmt.Errorf("loading matcher sets: %v", err)
	}
	for _, modMap := range matcherSets.([]map[string]interface{}) {
		var ms MatcherSet
		for _, modIface := range modMap {
			ms = append(ms, modIface.(RequestMatcher))
		}
		m.MatcherSets = append(m.MatcherSets, ms)
	}
	return nil
}
func ( m * MatchNot ) Provision ( ctx caddy . Context ) error { matcherSets , err := ctx . LoadModule ( m , " " ) if err != nil { return fmt . Errorf ( " " , err ) } for _ , modMap := range matcherSets . ( [ ] map [ string ] interface { } ) { var ms MatcherSet for _ , modIface := range modMap { ms = append ( ms , modIface . ( RequestMatcher ) ) } m . MatcherSets = append ( m . MatcherSets , ms ) } return nil }
Provision loads the matcher modules to be negated.
Provision loads the matcher modules to be negated .