libopenstorage / secrets

Openstorage support for Key Management Systems
Apache License 2.0
16 stars 16 forks source link

PWX-24735 Fix nil pointer issue when auth fails #63

Closed dahuang-purestorage closed 2 years ago

dahuang-purestorage commented 2 years ago

Signed-off-by: dahuang dahuang@purestorage.com

What this PR does / why we need it: When authentication failed, it would throw nil pointer panic causing PX to be stuck without knowing the exact error. This PR handles the error handling from auth failure. Which issue(s) this PR fixes (optional) PWX-24735

Special notes for your reviewer: tested with local px cluster