docs: fix stale references to development mode and retry target type
All checks were successful
check / check (push) Successful in 5s
All checks were successful
check / check (push) Successful in 5s
- README.md: remove 'in development mode' from admin user creation description (admin user creation is unconditional) - internal/delivery/engine.go: remove 'and retry' from HTTPTargetConfig comment (retry was merged into http target type) - internal/delivery/engine_test.go: remove '/retry' from newHTTPTargetConfig comment for consistency
This commit is contained in:
@@ -90,7 +90,7 @@ type Notifier interface {
|
||||
Notify(tasks []DeliveryTask)
|
||||
}
|
||||
|
||||
// HTTPTargetConfig holds configuration for http and retry target types.
|
||||
// HTTPTargetConfig holds configuration for http target types.
|
||||
type HTTPTargetConfig struct {
|
||||
URL string `json:"url"`
|
||||
Headers map[string]string `json:"headers,omitempty"`
|
||||
|
||||
@@ -61,7 +61,7 @@ func testEngine(t *testing.T, workers int) *Engine {
|
||||
}
|
||||
}
|
||||
|
||||
// newHTTPTargetConfig returns a JSON config for an HTTP/retry target
|
||||
// newHTTPTargetConfig returns a JSON config for an HTTP target
|
||||
// pointing at the given URL.
|
||||
func newHTTPTargetConfig(url string) string {
|
||||
cfg := HTTPTargetConfig{URL: url}
|
||||
|
||||
Reference in New Issue
Block a user