chore(glide): add kube pkgs to glide.yaml

* Thanks for the reminder adam :)
pull/1026/head
Michelle Noorali 9 years ago
parent f600b30c7a
commit 1b31382d9c

@ -27,6 +27,8 @@ import:
- pkg/api
- pkg/api/meta
- pkg/api/error
- pkg/api/unversioned
- pkg/apimachinery/registered
- pkg/client/restclient
- pkg/client/unversioned
- pkg/apis/batch
@ -40,6 +42,8 @@ import:
- pkg/labels
- pkg/runtime
- pkg/watch
- pkg/util/strategicpatch
- pkg/util/yaml
- package: github.com/gosuri/uitable
- package: speter.net/go/exp/math/dec/inf
version: ^0.9.0

@ -251,8 +251,7 @@ func updateResource(modified *resource.Info, currentObj runtime.Object) error {
// send patch to server
helper := resource.NewHelper(modified.Client, modified.Mapping)
_, err = helper.Patch(modified.Namespace, modified.Name, api.StrategicMergePatchType, patch)
if err != nil {
if _, err = helper.Patch(modified.Namespace, modified.Name, api.StrategicMergePatchType, patch); err != nil {
return err
}

Loading…
Cancel
Save