File 0002-bugfix-for-comment-in-external-ec2.patch of Package cluster-glue.27808
From d80753e9390dd50d3b281221040095ddeae5e102 Mon Sep 17 00:00:00 2001
From: adam kaminski <thimslugga@users.noreply.github.com>
Date: Tue, 29 Mar 2022 11:21:37 -0400
Subject: [PATCH] bugfix for comment in external/ec2
fix for comment where colon was used instead of pound
---
lib/plugins/stonith/external/ec2 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/plugins/stonith/external/ec2 b/lib/plugins/stonith/external/ec2
index 19d54d01..bdbceefa 100755
--- a/lib/plugins/stonith/external/ec2
+++ b/lib/plugins/stonith/external/ec2
@@ -234,7 +234,7 @@ function instance_on()
function instance_off()
{
if [ "$unknown_are_stopped" = 1 -a $instance_not_found ]; then
- : nothing to do
+ # nothing to do
ha_log.sh info "Assuming unknown instance $instance is already off"
else
aws ec2 stop-instances $options --instance-ids $instance --force
--
2.26.2