-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check list range to avoid exception (#3576)
pcs config shows empty "Corosync Nodes" on pacemaker remote nodes, and data[in_line] has an empty list. This fix checks the range before accessing data[in_line][0]. Without this fix, an exception is raised. Signed-off-by: Takayuki Nagata <[email protected]> Signed-off-by: Takayuki Nagata <[email protected]>
- Loading branch information
1 parent
397534e
commit 0f50d36
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters