Skip to content

Commit 75d03b3

Browse files
fix(gcp service): retry on unauthorized (vectordotdev#18586)
Retry on unauthorized Signed-off-by: Stephen Wakely <[email protected]>
1 parent addc46e commit 75d03b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sinks/gcs_common/config.rs

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ impl RetryLogic for GcsRetryLogic {
152152
let status = response.inner.status();
153153

154154
match status {
155+
StatusCode::UNAUTHORIZED => RetryAction::Retry("unauthorized".into()),
155156
StatusCode::TOO_MANY_REQUESTS => RetryAction::Retry("too many requests".into()),
156157
StatusCode::NOT_IMPLEMENTED => {
157158
RetryAction::DontRetry("endpoint not implemented".into())

0 commit comments

Comments
 (0)