From 8a613d6643020d6a3c6b8025b1037bf024978afd Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 27 Sep 2020 17:38:40 +0200 Subject: [PATCH] fix syntax in log message --- app/controllers/provider_prefixes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/provider_prefixes_controller.rb b/app/controllers/provider_prefixes_controller.rb index 6e3e8181f..a83af4f1b 100644 --- a/app/controllers/provider_prefixes_controller.rb +++ b/app/controllers/provider_prefixes_controller.rb @@ -112,7 +112,7 @@ def update end def destroy - message = "Provider prefix #{@provider_prefix.uid} deleted." + message = "Provider Prefix #{@provider_prefix.uid} deleted." if @provider_prefix.destroy if @provider_prefix.__elasticsearch__.delete_document.dig("result") != "deleted" logger.error "Error deleting Provider Prefix #{@provider_prefix.uid} from Elasticsearch index."