Add Messagebird as an alerting provider
This commit is contained in:
1 parent
66bf1c23df
commit
a870d3e43f
13 files changed
+190
-15
No files matched your search
@@ -62,7 +62,7 @@ func (provider *AlertProvider) buildRequest(serviceName, alertDescription string
|
||||
}
|
||||
}
|
||||
if len(method) == 0 {
|
||||
method = "GET"
|
||||
method = http.MethodGet
|
||||
}
|
||||
bodyBuffer := bytes.NewBuffer([]byte(body))
|
||||
request, _ := http.NewRequest(method, providerURL, bodyBuffer)
|
||||
|
||||
Reference in new issue
Block a user