Skip to content

Commit

Permalink
Revert "Apply suggestions from code review"
Browse files Browse the repository at this point in the history
This reverts commit ae0438f.
  • Loading branch information
alpeb committed Sep 27, 2023
1 parent 9c53067 commit 9d932f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion controller/api/destination/server.go
Expand Up @@ -458,7 +458,8 @@ func (s *server) subscribeToEndpointProfile(
s.metadataAPI,
)

ip, err := s.pods.Subscribe(service, hostname, ip, port, translator)
var err error
ip, err = s.pods.Subscribe(service, hostname, ip, port, translator)
if err != nil {
return err
}
Expand Down

0 comments on commit 9d932f8

Please sign in to comment.