Skip to content

Commit

Permalink
Cleaning up some debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Aug 3, 2021
1 parent f87a4c9 commit d76b226
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/apiserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ func Start(params *APIServerParams) {
}

if err := generateKotsadmID(); err != nil {
log.Println("error generating id")
logger.Infof("failed to generate kotsadm id:", err)
}

Expand Down
2 changes: 0 additions & 2 deletions pkg/handlers/spa.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package handlers

import (
"context"
"fmt"
"io/fs"
"net/http"
"os"
Expand Down Expand Up @@ -55,7 +54,6 @@ func (h SPAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

fmt.Printf("\n\n%s\n\n", rr.URL.Path)
// otherwise, use http.FileServer to serve the static dir
http.FileServer(http.FS(fsys)).ServeHTTP(w, rr)
}

0 comments on commit d76b226

Please sign in to comment.