diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2017-02-03 14:33:47 +0100 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-03-27 09:58:24 +0200 |
| commit | 73ce539aa70f43ccd5302b3ef8a02ff028558b12 (patch) | |
| tree | 67889137bfe57b25f48baecfd1bcbf0762647013 /src/python | |
| parent | 8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1 (diff) | |
SECRETS: Return a nicer error message on request with no PUT data
I managed to create this pathological situation with the tcurl tool
which didn't send any PUT data. The error in sssd-secrets was quite
strange (ENOMEM). This patch just adds a safeguard sooner so that we
return a graceful error.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions
