Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FAILURE (0.13 sec)

  1. cmd/batch-expire.go

    	if err != nil {
    		return err
    	}
    
    	*r = BatchJobExpire(tmp)
    	r.line, r.col = val.Line, val.Column
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobExpire) Notify(ctx context.Context, body io.Reader) error {
    	if r.NotificationCfg.Endpoint == "" {
    		return nil
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top