docs: fix stale references to development mode and retry target type
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:
clawbot 2026-03-03 16:12:43 -08:00
parent 3588facfff
commit 8e00e40008
3 changed files with 3 additions and 3 deletions

View File

@ -71,7 +71,7 @@ On first startup, webhooker automatically generates a cryptographically
secure session encryption key and stores it in the database. This key
persists across restarts — no manual key management is needed.
On first startup in development mode, webhooker creates an `admin` user
On first startup, webhooker creates an `admin` user
with a randomly generated password and logs it to stdout. This password
is only displayed once.

View File

@ -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"`

View File

@ -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}