This repository was archived by the owner on May 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
2727 "github.com/golang/glog"
2828)
2929
30- var machineControllerImage = "gcr.io/k8s-cluster-api/machine-controller:0.13 "
30+ var machineControllerImage = "gcr.io/k8s-cluster-api/machine-controller:0.14 "
3131
3232func init () {
3333 if img , ok := os .LookupEnv ("MACHINE_CONTROLLER_IMAGE" ); ok {
Original file line number Diff line number Diff line change 11PROJECT =k8s-cluster-api
22NAME =machine-controller
3- VERSION =0.13
3+ VERSION =0.14
44
55staticbuild :
66 CGO_ENABLED=0 GOOS=linux go build -a -ldflags ' -extldflags "-static"' .
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ func (c *NodeWatcher) link(node *corev1.Node) {
116116 machine , err := c .machineClient .Get (val , metav1.GetOptions {})
117117 if err != nil {
118118 glog .Errorf ("Error getting machine %v: %v\n " , val , err )
119+ return
119120 }
120121
121122 machine .Status .NodeRef = objectRef (node )
@@ -135,6 +136,7 @@ func (c *NodeWatcher) unlink(node *corev1.Node) {
135136 machine , err := c .machineClient .Get (val , metav1.GetOptions {})
136137 if err != nil {
137138 glog .Errorf ("Error getting machine %v: %v\n " , val , err )
139+ return
138140 }
139141
140142 // This machine has no link to remove
You can’t perform that action at this time.
0 commit comments