Rename imageservice.IsImagePresent to GetImageRef

This commit is contained in:
Pengfei Ni
2016-12-31 08:36:55 +08:00
parent 1de92a91e9
commit 67a5bf8454
12 changed files with 36 additions and 33 deletions

View File

@@ -110,7 +110,7 @@ func (r *Mock) PullImage(image ImageSpec, pullSecrets []v1.Secret) (string, erro
return image.Image, args.Error(0)
}
func (r *Mock) IsImagePresent(image ImageSpec) (string, error) {
func (r *Mock) GetImageRef(image ImageSpec) (string, error) {
args := r.Called(image)
return args.Get(0).(string), args.Error(1)
}