Skip to content

Commit 2550ec9

Browse files
authored
Merge pull request #6 from edenlabllc/feature/RMK-2-fix-rmk-config-init-command
#2 - refactoring
2 parents d601d59 + 0132671 commit 2550ec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github_actions/common/actions/init_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self, environment: str, args: Namespace):
1212
super().__init__(environment)
1313
self.cluster_provider = args.rmk_cluster_provider
1414
self.github_token = args.github_token
15-
self.slack_notification = getattr(args, "rmk_slack_notification", "")
15+
self.slack_notifications = getattr(args, "rmk_slack_notifications", "")
1616
self.slack_channel = getattr(args, "rmk_slack_channel", "")
1717
self.slack_message_details = getattr(args, "rmk_slack_message_details", "")
1818
self.slack_webhook = getattr(args, "rmk_slack_webhook", "")
@@ -23,7 +23,7 @@ def execute(self):
2323
def run(self):
2424
"""Configure Slack notifications if enabled."""
2525
os.environ["RMK_GITHUB_TOKEN"] = self.github_token
26-
if self.slack_notification == "true":
26+
if self.slack_notifications == "true":
2727
os.environ["RMK_SLACK_WEBHOOK"] = self.slack_webhook
2828
os.environ["RMK_SLACK_CHANNEL"] = self.slack_channel
2929

0 commit comments

Comments
 (0)