Merge pull request #94573 from siadat/double-pointer

Remove unnecessary double-pointer
This commit is contained in:
Kubernetes Prow Robot 2020-09-07 14:02:07 -07:00 committed by GitHub
commit 62d46b8b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,7 +394,7 @@ func (h *HTTPExtender) Bind(binding *v1.Binding) error {
PodUID: binding.UID,
Node: binding.Target.Name,
}
if err := h.send(h.bindVerb, &req, &result); err != nil {
if err := h.send(h.bindVerb, req, &result); err != nil {
return err
}
if result.Error != "" {