From e09383bccfcefa3699aa959dedbd8364d505bf9c Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Sat, 23 Mar 2013 14:54:18 -0700 Subject: [PATCH] Remove json alteration --- registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry.go b/registry.go index 8e14d48c1d..8076e3184c 100644 --- a/registry.go +++ b/registry.go @@ -32,7 +32,7 @@ func NewImgJson(src []byte) (*Image, error) { func NewMultipleImgJson(src []byte) ([]*Image, error) { ret := []*Image{} - dec := json.NewDecoder(strings.NewReader(strings.Replace(string(src), "null", "\"\"", -1))) + dec := json.NewDecoder(strings.NewReader(string(src))) for { m := &Image{} if err := dec.Decode(m); err == io.EOF {