Skip to content

Commit

Permalink
fix syntax in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Sep 27, 2020
1 parent de562b8 commit 8a613d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/provider_prefixes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 8a613d6

Please sign in to comment.