Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkValidNotificationKeysForSubSys (0.26 sec)

  1. internal/config/notify/parse.go

    // TestSubSysNotificationTargets - tests notification targets of given subsystem
    func TestSubSysNotificationTargets(ctx context.Context, cfg config.Config, subSys string, transport *http.Transport) error {
    	if err := checkValidNotificationKeysForSubSys(subSys, cfg[subSys]); err != nil {
    		return err
    	}
    
    	targetList, err := fetchSubSysTargets(ctx, cfg, subSys, transport)
    	if err != nil {
    		return err
    	}
    
    	for _, target := range targetList {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top