You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2024/06/06 08:04:57 UTC
(incubator-devlake) 01/01: fix: pagerduty task always fails
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch kw-7561-pagerduty
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 725eac42bf75ac92d108be394d5de097f42e6828
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Thu Jun 6 16:04:24 2024 +0800
fix: pagerduty task always fails
---
backend/plugins/pagerduty/tasks/task_data.go | 3 ---
1 file changed, 3 deletions(-)
diff --git a/backend/plugins/pagerduty/tasks/task_data.go b/backend/plugins/pagerduty/tasks/task_data.go
index 41d42e426..814e42c97 100644
--- a/backend/plugins/pagerduty/tasks/task_data.go
+++ b/backend/plugins/pagerduty/tasks/task_data.go
@@ -74,9 +74,6 @@ func EncodeTaskOptions(op *PagerDutyOptions) (map[string]interface{}, errors.Err
}
func ValidateTaskOptions(op *PagerDutyOptions) errors.Error {
- if op.ServiceName == "" {
- return errors.BadInput.New("not enough info for Pagerduty execution")
- }
if op.ServiceId == "" {
return errors.BadInput.New("not enough info for Pagerduty execution")
}