commit | 9395a81756d5f18c0f319a74e1c5ac553010313b | [log] [tgz] |
---|---|---|
author | Rohan Agrawal <rohan.agrawal01@infosys.com> | Mon Jul 13 12:07:58 2020 +0000 |
committer | Rohan Agrawal <rohan.agrawal01@infosys.com> | Tue Jul 14 02:46:28 2020 +0000 |
tree | 74181874123681ddcc7c24f0fd24f08a7275c788 | |
parent | 31f2180f563ba1f597b735f1091310dbfe81de08 [diff] |
[VOL-3187]Add context.Background() in profile.go Change-Id: I87e2d1165609972235899376267e67d4c37b33bd
diff --git a/rw_core/profile.go b/rw_core/profile.go index e79069f..e333278 100644 --- a/rw_core/profile.go +++ b/rw_core/profile.go
@@ -19,13 +19,14 @@ package main import ( + "context" "net/http" _ "net/http/pprof" ) func realMain() { go func() { - logger.Infoln(ctx, http.ListenAndServe("0.0.0.0:6060", nil)) + logger.Infoln(context.Background(), http.ListenAndServe("0.0.0.0:6060", nil)) }() }