Skip to content

Commit d176626

Browse files
Merge pull request #6 from coreweave/fix-remove-bad-logging
fix: remove logging of credentials
2 parents b00adaa + cd27150 commit d176626

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ GET /latest/meta-data/iam/security-credentials/{role_name} -> creds
322322
the role_name can be blank
323323
*/
324324
func (cfg *Config) ServeHTTP(w http.ResponseWriter, req *http.Request) {
325-
log.Println(req.Method, req.URL.Path)
326325
if req.URL.Path == "/latest/api/token" {
327326
cfg.handleTokenRequest(w, req)
328327
} else if strings.HasPrefix(req.URL.Path, "/latest/meta-data/iam/security-credentials/") {

0 commit comments

Comments
 (0)