File 0023-Low-aws-vpc-route53-Fix-missing-ocf_log-in-log-messa.patch of Package resource-agents.11561
From 9f7d4c28ed05ffcd4acfe59f0ce896d89a343a6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Thu, 24 Aug 2017 13:07:38 +0200
Subject: [PATCH 23/27] Low: aws-vpc-route53: Fix missing ocf_log in log
message
---
heartbeat/aws-vpc-route53 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/heartbeat/aws-vpc-route53 b/heartbeat/aws-vpc-route53
index 83de68df..d9b6d84b 100755
--- a/heartbeat/aws-vpc-route53
+++ b/heartbeat/aws-vpc-route53
@@ -170,7 +170,7 @@ ec2ip_validate() {
ocf_log debug "Testing aws command"
aws --version 2>&1
if [ "$?" -gt 0 ]; then
- error "Error while executing aws command as user root! Please check if AWS CLI tools (Python flavor) are properly installed and configured." && exit $OCF_ERR_INSTALLED
+ ocf_log error "Error while executing aws command as user root! Please check if AWS CLI tools (Python flavor) are properly installed and configured." && exit $OCF_ERR_INSTALLED
fi
ocf_log debug "ok"
--
2.15.1