File 0015-Low-aws-vpc-route53-Fix-missing-ocf_log-in-log-messa.patch of Package resource-agents.10310
From f32c29a308595ec8981230cc2146b8c73248f9ab 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 15/22] 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 a6e7218a..e815d171 100755
--- a/heartbeat/aws-vpc-route53
+++ b/heartbeat/aws-vpc-route53
@@ -174,7 +174,7 @@ ec2ip_validate() {
debugger "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
debugger "ok"
--
2.15.1