Fix the kubelet uses api encode/decode by actually adding PodContainerInfo to v1beta1

This commit is contained in:
Brendan Burns
2014-12-15 11:35:19 -08:00
parent a6f967b6e7
commit d345dda1e5
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ import (
"errors"
"fmt"
"io/ioutil"
"log"
"net"
"net/http"
"strconv"
@@ -116,7 +115,6 @@ func (c *HTTPKubeletClient) GetPodInfo(host, podNamespace, podID string) (api.Po
return info, err
}
// Check that this data can be unmarshalled
log.Printf("FOOO: %s", string(body))
err = latest.Codec.DecodeInto(body, &info)
if err != nil {
return info, err