Merge branch 'graph' of http://github.com/dotcloud/docker into graph

This commit is contained in:
Solomon Hykes 2013-03-23 17:04:37 -07:00
commit 587debf92e

View file

@ -21,8 +21,6 @@ func NewImgJson(src []byte) (*Image, error) {
Debugf("Json string: {%s}\n", src)
// FIXME: Is there a cleaner way to "puryfy" the input json?
src = []byte(strings.Replace(string(src), "null", "\"\"", -1))
if err := json.Unmarshal(src, ret); err != nil {
return nil, err
}