Skip to content

Commit 165b03e

Browse files
committed
e2e-changes
1 parent 1a702bd commit 165b03e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/scripts/send-messages-to-slack.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
import os
44
import sys
5-
import slack
5+
from slackclient import SlackClient
66

7-
slack_client = slack(token=os.environ['SLACK_API_TOKEN'])
7+
slack_client = SlackClient(token=os.environ['SLACK_API_TOKEN'])
88
channelName = "ibm-vpc-block-csi-e2e"
99
def channel_info(channel_id):
1010
channels_info = slack_client.api_call("channels.info", channel=channel_id)
@@ -47,4 +47,4 @@ def send_message (FilePath):
4747
if isAttachment == "True" or isAttachment == "true":
4848
send_file(filePath)
4949
else:
50-
send_message(filePath)
50+
send_message(filePath)

0 commit comments

Comments
 (0)