Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit a97826c

Browse files
committed
Pull haproxy:1.4 image
1 parent 3141d25 commit a97826c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kubelet/hyper/hyper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,9 +1021,9 @@ func (r *runtime) PullImage(image kubecontainer.ImageSpec, pullSecrets []api.Sec
10211021
}
10221022

10231023
if exist, _ := r.hyperClient.IsImagePresent("haproxy", "1.4"); !exist {
1024-
err = r.hyperClient.PullImage("haproxy", credential)
1024+
err = r.hyperClient.PullImage("haproxy:1.4", credential)
10251025
if err != nil {
1026-
return fmt.Errorf("Hyper: Failed to pull haproxy image: %v", err)
1026+
return fmt.Errorf("Hyper: Failed to pull haproxy:1.4 image: %v", err)
10271027
}
10281028
}
10291029

0 commit comments

Comments
 (0)