Skip to content

Conversation

@1000TurquoisePogs
Copy link
Member

Same as zowe/zlux-server-framework#619

https://nodejs.org/api/cluster.html#clusterismaster has been aliased to https://nodejs.org/api/cluster.html#clusterisprimary since node 16, and marked as deprecated by them.

In order to avoid surprises if the old name is removed in the future, I'm changing references in our code to point to the right objects today.
node 16 isn't even supported anymore, so all nodes in support have the new name.

I'm not 100% confident that extenders are not using this.isMaster in our code, so I'm leaving that there and creating an alias to this.isPrimary for the sake of organization, so mimic node's behavior.

Signed-off-by: 1000TurquoisePogs <[email protected]>
Copy link
Contributor

@timgerstel timgerstel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isMaster -> isPrimary.

LGTM

@github-project-automation github-project-automation bot moved this from Ready for Review to Merge Ready in WebUI planning board Oct 8, 2025
@1000TurquoisePogs 1000TurquoisePogs merged commit b5ae426 into v3.x/staging Oct 10, 2025
6 of 8 checks passed
@github-project-automation github-project-automation bot moved this from Merge Ready to Closed in WebUI planning board Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants