diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 58bedc5773..f07e97dd9f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -15,12 +15,12 @@ jobs: codeql-analyze: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@v2 with: languages: go - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v2 \ No newline at end of file diff --git a/internal/k8sCommon/kubeletutil/kubeletclient.go b/internal/k8sCommon/kubeletutil/kubeletclient.go index 0bd196180e..feaab914f7 100644 --- a/internal/k8sCommon/kubeletutil/kubeletclient.go +++ b/internal/k8sCommon/kubeletutil/kubeletclient.go @@ -77,7 +77,7 @@ func (k *KubeClient) ListPods() ([]corev1.Pod, error) { b, err := ioutil.ReadAll(resp.Body) if err != nil { - log.Printf("E! Fail to read request %s body: %s", req.URL.String(), err) + log.Printf("E! Fail to read request %s body: %s", url, err) return result, err }