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

etcdserver: don't activate alarm w/missing AlarmType #13084

Merged
merged 2 commits into from
Jun 4, 2021

Commits on Jun 4, 2021

  1. etcdserver: don't activate alarm w/missing AlarmType

    Narrowly prevent etcd from crashing when given a bad ACTIVATE payload, e.g.:
    
    $ curl -d "{\"action\":\"ACTIVATE\"}" ${ETCD}/v3/maintenance/alarm
    curl: (52) Empty reply from server
    dlowe committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    8552d8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a26fa0c View commit details
    Browse the repository at this point in the history