Commit af58fdd3 authored by Geoff Simmons's avatar Geoff Simmons

Remove some debugging code.

parent 3ed8cce1
......@@ -303,12 +303,8 @@ func (h *pemsHndlr) pemInfo(
info.Meta.ModTime.UTC().Format(http.TimeFormat))
inm := req.Header.Get("If-None-Match")
h.log.Info("If-None-Match: ", inm)
h.log.Info("info.K8sSecret.UID: ", info.K8sSecret.UID)
h.log.Info("info.K8sSecret.Version: ", info.K8sSecret.Version)
if inm != "" {
tags := strings.Split(strings.TrimPrefix(inm, "W/"), "/")
h.log.Infof("tags: %+v", tags)
if len(tags) == 2 && tags[0] == info.K8sSecret.UID &&
tags[1] == info.K8sSecret.Version {
resp.Header().Del("Content-Length")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment