Skip to content

Commit d48b355

Browse files
author
Caspar van Leeuwen
committed
Replace Partition with Node type in show_config output. Also, update docstring for status command to show the correct return type (string)
1 parent af731e1 commit d48b355

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eessi_bot_event_handler.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def handle_pull_request_opened_event(self, event_info, pr, req_chatlevel=ChatLev
417417

418418
comment = f"Instance `{app_name}` is configured to build on:"
419419
for node in node_map:
420-
comment += f"\n- Partition `{node}`:"
420+
comment += f"\n- Node type `{node}`:"
421421
current_partition = node_map[node]
422422
if "os" in current_partition:
423423
comment += f"\n - OS: `{current_partition['os']}`"
@@ -578,8 +578,8 @@ def handle_bot_command_status(self, event_info, bot_command):
578578
bot_command (EESSIBotCommand): command to be handled
579579
580580
Returns:
581-
github.IssueComment.IssueComment (note, github refers to
582-
PyGithub, not the github from the internal connections module)
581+
(string): list item with a link to the issue comment that was created
582+
containing the status overview
583583
"""
584584
self.log("processing bot command 'status'")
585585
repo_name = event_info['raw_request_body']['repository']['full_name']

0 commit comments

Comments
 (0)