Skip to content

Commit 6090828

Browse files
committed
Revert "Apply suggestions from code review"
This reverts commit ae0438f.
1 parent 42b02b8 commit 6090828

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

controller/api/destination/server.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,8 @@ func (s *server) subscribeToEndpointProfile(
458458
s.metadataAPI,
459459
)
460460

461-
ip, err := s.pods.Subscribe(service, hostname, ip, port, translator)
461+
var err error
462+
ip, err = s.pods.Subscribe(service, hostname, ip, port, translator)
462463
if err != nil {
463464
return err
464465
}

0 commit comments

Comments
 (0)