This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch release-v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v1.0 by this push:
new 103d1a373 fix: pagerduty task always fails (#7584) (#7591)
103d1a373 is described below
commit 103d1a373e4ba32570cdbfc632fe4a4e45fb3f45
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jun 7 16:37:50 2024 +0800
fix: pagerduty task always fails (#7584) (#7591)
Co-authored-by: Klesh Wong <[email protected]>
---
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")
}