commit | 96b7bf2812934591b57f8e7f8414e4bf8429d669 | [log] [tgz] |
---|---|---|
author | Neha Sharma <neha.sharma70@infosys.com> | Mon Jun 15 10:37:32 2020 +0000 |
committer | Neha Sharma <neha.sharma70@infosys.com> | Wed Jul 08 19:17:23 2020 +0000 |
tree | 478605fd7ec76c7693da72df4d4a5020b3da3b68 | |
parent | 748de5c3fa5c8e51798c767fc2b742f2cfbc29f0 [diff] [blame] |
[VOL-3069]Pass Context in methods which are performing logging and need the context Change-Id: Ie84f9e240aa4f47d0046acaac0d82d21b17252e5
diff --git a/cmd/openolt-adapter/profile.go b/cmd/openolt-adapter/profile.go index f539afd..98e3ac0 100644 --- a/cmd/openolt-adapter/profile.go +++ b/cmd/openolt-adapter/profile.go
@@ -25,7 +25,7 @@ func realMain() { go func() { - logger.Fatal(http.ListenAndServe("0.0.0.0:6060", nil)) + logger.Fatal(ctx, http.ListenAndServe("0.0.0.0:6060", nil)) }() }