Remove unnecessary double-pointer

This commit is contained in:
Sina Siadat 2020-09-06 16:21:41 +04:30
parent 16ea9dc6bc
commit 6b18ff81a5

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 != "" {