Skip to content

Conversation

wind57
Copy link
Contributor

@wind57 wind57 commented Apr 2, 2025

No description provided.

@wind57 wind57 changed the title fix remove services in correct order Apr 2, 2025
Signed-off-by: wind57 <eugen.rabii@gmail.com>
if (service != null) {
service.getMetadata().setNamespace(namespace);
coreV1Api.deleteNamespacedService(service.getMetadata().getName(), service.getMetadata().getNamespace(),
if (service != null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was my mistake, of course. I was doing :

if (deployment != null) {

        if (service != null) { .... }
}

but for the external-name service, deployment is null, but service is not.

And obviously, I was not removing it. This PR corrects this mistake.

@wind57 wind57 marked this pull request as ready for review April 2, 2025 20:09
@wind57
Copy link
Contributor Author

wind57 commented Apr 2, 2025

@ryanjbaxter it was my mistake, I'm sorry

@ryanjbaxter ryanjbaxter added this to the 3.1.6 milestone Apr 2, 2025
@ryanjbaxter ryanjbaxter merged commit 50b8104 into spring-cloud:3.1.x Apr 2, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this to Done in 2023.0.6 Apr 2, 2025
@spencergibb spencergibb moved this to Done in 2024.0.2 Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants