  		glog.Errorf("Failed to fetch: %v", err)
  		return "", err
  	}
-@@ -98,20 +99,39 @@ func (r *Runtime) GetImageRef(image kubecontainer.ImageSpec) (string, error) {
+@@ -98,23 +99,44 @@ func (r *Runtime) GetImageRef(image kubecontainer.ImageSpec) (string, error) {
  	return images[0].Id, nil
  }
  

 			Size:     image.Size,
 		}
 	}
diff --git a/pkg/kubelet/rkt/rkt_test.go b/pkg/kubelet/rkt/rkt_test.go
index 16c6617..dfcea20 100644
--- a/pkg/kubelet/rkt/rkt_test.go

From 50dacd9712b77efc0b69bcd341b1a8349903b41b Mon Sep 17 00:00:00 2001
From: JulienBalestra <julien.balestra@gmail.com>
Date: Wed, 30 Aug 2017 12:19:37 +0200
Subject: [PATCH] rkt image list

---
 pkg/kubelet/rkt/image.go    | 38 ++++++++++++++----
 pkg/kubelet/rkt/rkt_test.go | 96 ---------------------------------------------
 2 files changed, 30 insertions(+), 104 deletions(-)

diff --git a/pkg/kubelet/rkt/image.go b/pkg/kubelet/rkt/image.go
index 3a1687b..626bdb6 100644
--- a/pkg/kubelet/rkt/image.go
+++ b/pkg/kubelet/rkt/image.go
@@ -37,6 +37,7 @@ import (
