Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAYARA-1954 Added get rest monitoring configuration command #1901

Conversation

michaelranaldo
Copy link
Contributor

No description provided.

@michaelranaldo
Copy link
Contributor Author

Jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

@smillidge smillidge added this to the Payara 174 milestone Aug 28, 2017
@smillidge smillidge merged commit a3ac9b7 into payara:master Aug 31, 2017
public void execute(AdminCommandContext context) {
Config config = targetUtil.getConfig(target);

RestMonitoringConfiguration restMonitoringConfiguration = config
Copy link

@Scoty Scoty Sep 1, 2017

Choose a reason for hiding this comment

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

Correct me if I am wrong, but it looks like NPE is possible here ? I guess this row should be below the null check for the config variable?

Copy link
Member

Choose a reason for hiding this comment

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

Good spot! I agree this should be below the null check.

michaelranaldo added a commit to michaelranaldo/Payara that referenced this pull request Sep 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants