From 7a9777b41683c242d4b0b60c697755fed71c5710 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 20 Nov 2021 21:33:41 +0100 Subject: [PATCH] Problem: fetch2 is unused Solution: remove fetch2 --- cmd/eksterd/memory.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/eksterd/memory.go b/cmd/eksterd/memory.go index 57e1f9f..0e2e35e 100644 --- a/cmd/eksterd/memory.go +++ b/cmd/eksterd/memory.go @@ -84,12 +84,6 @@ type newItemMessage struct { Channel string `json:"channel"` } -type fetch2 struct{} - -func (f *fetch2) Fetch(url string) (*http.Response, error) { - return Fetch2(url) -} - func (b *memoryBackend) AuthTokenAccepted(header string, r *auth.TokenResponse) (bool, error) { conn := b.pool.Get() defer func() {