Skip to content
Snippets Groups Projects
Commit 70154cc5 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Remove log statement

parent 000ebbf2
No related branches found
No related tags found
1 merge request!163Prometheus metrics for senddata and git archive cache
Loading
Loading
@@ -8,7 +8,6 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
"os"
"os/exec"
Loading
Loading
@@ -66,7 +65,6 @@ func (a *archive) Inject(w http.ResponseWriter, r *http.Request, sendData string
if cachedArchive, err := os.Open(params.ArchivePath); err == nil {
defer cachedArchive.Close()
gitArchiveCache.WithLabelValues("hit").Inc()
log.Printf("Serving cached file %q", params.ArchivePath)
setArchiveHeaders(w, format, archiveFilename)
// Even if somebody deleted the cachedArchive from disk since we opened
// the file, Unix file semantics guarantee we can still read from the
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment