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

Provide error message when plugin id is missing #20660

Merged
merged 1 commit into from
Sep 26, 2016
Merged

Provide error message when plugin id is missing #20660

merged 1 commit into from
Sep 26, 2016

Conversation

jasontedor
Copy link
Member

Today when executing the install plugin command without a plugin id, we
end up throwing an NPE because the plugin id is null yet we just keep
going (ultimatley we try to lookup the null plugin id in a set, the
direct cause of the NPE). This commit modifies the install command so
that a missing plugin id is detected and help is provided to the user.

Today when executing the install plugin command without a plugin id, we
end up throwing an NPE because the plugin id is null yet we just keep
going (ultimatley we try to lookup the null plugin id in a set, the
direct cause of the NPE). This commit modifies the install command so
that a missing plugin id is detected and help is provided to the user.
@nik9000
Copy link
Member

nik9000 commented Sep 26, 2016

Lgtm

On Sep 26, 2016 12:40 PM, "Jason Tedor" notifications@github.com wrote:

Today when executing the install plugin command without a plugin id, we
end up throwing an NPE because the plugin id is null yet we just keep
going (ultimatley we try to lookup the null plugin id in a set, the
direct cause of the NPE). This commit modifies the install command so

that a missing plugin id is detected and help is provided to the user.

You can view, comment on, or merge this pull request online at:

#20660
Commit Summary

  • Provide error message when plugin id is missing

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#20660, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANLogc-W_rIkFQTs3USMHiRTO03PiQfks5qt6EtgaJpZM4KGYDa
.

@jasontedor jasontedor merged commit a6e3349 into elastic:master Sep 26, 2016
@jasontedor jasontedor deleted the install-required-plugin-id branch September 26, 2016 12:09
jasontedor added a commit that referenced this pull request Sep 26, 2016
Today when executing the install plugin command without a plugin id, we
end up throwing an NPE because the plugin id is null yet we just keep
going (ultimatley we try to lookup the null plugin id in a set, the
direct cause of the NPE). This commit modifies the install command so
that a missing plugin id is detected and help is provided to the user.

Relates #20660
jasontedor added a commit that referenced this pull request Sep 26, 2016
Today when executing the install plugin command without a plugin id, we
end up throwing an NPE because the plugin id is null yet we just keep
going (ultimatley we try to lookup the null plugin id in a set, the
direct cause of the NPE). This commit modifies the install command so
that a missing plugin id is detected and help is provided to the user.

Relates #20660
@jasontedor
Copy link
Member Author

Thanks for reviewing @nik9000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants