From 2e9503fff8dfbc34399264e28a0738eab565fe9d Mon Sep 17 00:00:00 2001 From: "Balasankar \"Balu\" C" Date: Mon, 1 Mar 2021 11:28:34 +0530 Subject: Use actual structs in Config struct instead of pointers to them Signed-off-by: Balasankar "Balu" C --- internal/serving/disk/zip/serving_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/serving/disk/zip') diff --git a/internal/serving/disk/zip/serving_test.go b/internal/serving/disk/zip/serving_test.go index 249dae1f..2cbee18d 100644 --- a/internal/serving/disk/zip/serving_test.go +++ b/internal/serving/disk/zip/serving_test.go @@ -86,7 +86,7 @@ func TestZip_ServeFileHTTP(t *testing.T) { } cfg := &config.Config{ - Zip: &config.ZipServing{ + Zip: config.ZipServing{ ExpirationInterval: 10 * time.Second, CleanupInterval: 5 * time.Second, RefreshInterval: 5 * time.Second, -- cgit v1.2.3