mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Remove debugging statement
This commit is contained in:
parent
a6f907e128
commit
8986a0fc4b
@ -20,7 +20,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"reflect"
|
"reflect"
|
||||||
@ -156,7 +155,6 @@ func (storage *SimpleRESTStorage) WatchSingle(id string) (watch.Interface, error
|
|||||||
func extractBody(response *http.Response, object interface{}) (string, error) {
|
func extractBody(response *http.Response, object interface{}) (string, error) {
|
||||||
defer response.Body.Close()
|
defer response.Body.Close()
|
||||||
body, err := ioutil.ReadAll(response.Body)
|
body, err := ioutil.ReadAll(response.Body)
|
||||||
log.Printf("FOO: %s", body)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return string(body), err
|
return string(body), err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user