diff --git a/go.mod b/go.mod index 9f8e9148..e3c1bd91 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,7 @@ require ( go.uber.org/zap v1.13.0 // indirect golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553 google.golang.org/api v0.15.0 // indirect - halkyon.io/api v1.0.0-rc.5 + halkyon.io/api v1.0.0-rc.5.0.20200221115024-adec538d7920 halkyon.io/operator-framework v1.0.0-beta.5 k8s.io/api v0.0.0-20190918195907-bd6ac527cfd2 k8s.io/apimachinery v0.17.0 diff --git a/pkg/controller/component/pod.go b/pkg/controller/component/pod.go index e9523ffc..83d818f8 100644 --- a/pkg/controller/component/pod.go +++ b/pkg/controller/component/pod.go @@ -71,7 +71,7 @@ func (res pod) GetCondition(underlying runtime.Object, err error) *beta1.Depende msg = fmt.Sprintf("%s pod is not ready: %s => %s", p.Name, c.Reason, msg) } else { msg = fmt.Sprintf("%s is ready", p.Name) - cond.SetAttribute("PodName", p.Name) + cond.SetAttribute(v1beta1.PodNameAttributeKey, p.Name) } } }