X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pm-file-converter%2Fcommon%2Futils%2Futils.go;h=dccf3c5e870abf426d699152c30ebc453c7314f5;hb=refs%2Fchanges%2F02%2F11802%2F2;hp=5466d2c20ee2f862bb2da78b76da01e58b627ba2;hpb=41a1c82b8b1b30644c85b90487f013ccc8ff7f92;p=nonrtric%2Fplt%2Franpm.git diff --git a/pm-file-converter/common/utils/utils.go b/pm-file-converter/common/utils/utils.go index 5466d2c..dccf3c5 100644 --- a/pm-file-converter/common/utils/utils.go +++ b/pm-file-converter/common/utils/utils.go @@ -21,14 +21,17 @@ package utils import ( "bytes" - log "github.com/sirupsen/logrus" "main/components/kafkacollector" "net/http" + + log "github.com/sirupsen/logrus" ) var httpclient = &http.Client{} // Send a http request with json (json may be nil) +// +//lint:ignore S100 func Send_http_request(json []byte, method string, url string, retry bool, useAuth bool) bool { // set the HTTP method, url, and request body