Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankarc@autistici.org>2021-03-01 08:58:34 +0300
committerBalasankar "Balu" C <balasankarc@autistici.org>2021-03-01 08:58:34 +0300
commit2e9503fff8dfbc34399264e28a0738eab565fe9d (patch)
tree48cee9ef470699df0f28df0b9a7ca726887f252f /internal/serving/disk/zip
parentf8a1639beb6cbaf2f63f42ba362be4a4c9294a97 (diff)
Use actual structs in Config struct instead of pointers to them
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'internal/serving/disk/zip')
-rw-r--r--internal/serving/disk/zip/serving_test.go2
1 files changed, 1 insertions, 1 deletions
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,