Skip to content

Commit 7038e27

Browse files
committed
Onboarding: Use unique log message for localising text
The log message was the same as in another delete case, and that makes it hard to identify where it gets deleted.
1 parent d5f6e8d commit 7038e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/onboarding_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ func (r *OnboardingController) createOrGetTestServer(ctx context.Context, zone,
433433
continue
434434
}
435435
if server.Name != serverName || foundServer != nil {
436-
log.Info("deleting server", "name", server.Name)
436+
log.Info("deleting outdated server", "name", server.Name)
437437
err = servers.Delete(ctx, r.testComputeClient, server.ID).ExtractErr()
438438
if err != nil && !gophercloud.ResponseCodeIs(err, http.StatusNotFound) {
439439
log.Error(err, "failed deleting instance due to", "instance", server.ID)

0 commit comments

Comments
 (0)