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

Commit 3bc8759

Browse files
authored
Merge pull request #145 from hyperhq/fix-haproxy
Update haproxy from 1.4 to 1.5
2 parents c7135ec + 67e9631 commit 3bc8759

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/kubelet/hyper/hyper.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -1186,10 +1186,10 @@ func (r *runtime) PullImage(image kubecontainer.ImageSpec, pullSecrets []api.Sec
11861186
return fmt.Errorf("Hyper: Failed to pull image: %v", err)
11871187
}
11881188

1189-
if exist, _ := r.hyperClient.IsImagePresent("haproxy", "1.4"); !exist {
1190-
err = r.hyperClient.PullImage("haproxy:1.4", credential)
1189+
if exist, _ := r.hyperClient.IsImagePresent("haproxy", "1.5"); !exist {
1190+
err = r.hyperClient.PullImage("haproxy:1.5", credential)
11911191
if err != nil {
1192-
return fmt.Errorf("Hyper: Failed to pull haproxy:1.4 image: %v", err)
1192+
return fmt.Errorf("Hyper: Failed to pull haproxy:1.5 image: %v", err)
11931193
}
11941194
}
11951195

0 commit comments

Comments
 (0)