diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-16 10:22:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-16 10:22:48 +0300 |
| commit | 4371aa94b0793c70a3e146fad6398f0dcb540048 (patch) | |
| tree | c7a4e1fd6726927d3344dace8d38cda7efef706d /internal/daemon/upload_test.go | |
| parent | ee8221e6c88640dba31c69c59c19e65a8dc54a3e (diff) | |
Release 0.5.1: auto-unexclude, merge excluded_host into auth DB0.5.1
- /metrics: auto-remove exclusion when records mtime > excluded_at so
hosts that resume uploading unexclude themselves on next scrape
- Consolidate excluded_host table into the auth DB (goprecords-auth.db)
instead of a separate file — removes -db daemon flag and GOPRECORDS_DB env
- README: add host exclusion section with kubectl exec examples
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/daemon/upload_test.go')
| -rw-r--r-- | internal/daemon/upload_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/daemon/upload_test.go b/internal/daemon/upload_test.go index 761fd62..2cc52f3 100644 --- a/internal/daemon/upload_test.go +++ b/internal/daemon/upload_test.go @@ -207,7 +207,7 @@ func TestUploadAuthBearerNegativeTable(t *testing.T) { if _, err := store.CreateKey(ctx, "myhost"); err != nil { t.Fatal(err) } - srv := httptest.NewServer(routes(statsDir, "", "", store)) + srv := httptest.NewServer(routes(statsDir, "", store)) defer srv.Close() url := srv.URL + "/upload/myhost/txt" tests := []struct { |
