Skip to main content

is_auth

Function is_auth 

Source
pub fn is_auth(err: &IntelError) -> bool
Expand description

Is this a fatal auth failure (401/403)? The all-down backoff needs to distinguish the two: an auth failure on every endpoint is a misconfiguration and exits 4 immediately rather than entering the backoff loop. Retrying a credential error would mask it as a transient outage and leave the operator with a daemon that looks alive but never works.