From a4ddcffb6ee3d3bb5e8101f7ea740e8176854717 Mon Sep 17 00:00:00 2001 From: Evan Adam Date: Wed, 11 Dec 2024 16:14:03 +0100 Subject: [PATCH 1/2] fix(rubrik): retry token authentication if request return empty result. Refs:CTOR-729 --- src/apps/backup/rubrik/restapi/custom/api.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/backup/rubrik/restapi/custom/api.pm b/src/apps/backup/rubrik/restapi/custom/api.pm index 11059959aa..c22cacb03c 100644 --- a/src/apps/backup/rubrik/restapi/custom/api.pm +++ b/src/apps/backup/rubrik/restapi/custom/api.pm @@ -313,8 +313,7 @@ sub request_api_paginate { ); if (!defined($content) || $content eq '') { - $self->{output}->add_option_msg(short_msg => "API returns empty content [code: '" . $self->{http}->get_code() . "'] [message: '" . $self->{http}->get_message() . "']"); - $self->{output}->option_exit(); + return ; # If the content is empty, it means that the request failed. caller can try to get a new token and retry. } my $decoded; From 484052d37d952bf56e6db91028aa28708343c7b1 Mon Sep 17 00:00:00 2001 From: Evan Adam Date: Mon, 16 Dec 2024 09:53:39 +0100 Subject: [PATCH 2/2] fix(rubrik): spellcheck Refs:CTOR-729 --- tests/resources/spellcheck/stopwords.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/resources/spellcheck/stopwords.txt b/tests/resources/spellcheck/stopwords.txt index 55c3a58940..23dd9f96cc 100644 --- a/tests/resources/spellcheck/stopwords.txt +++ b/tests/resources/spellcheck/stopwords.txt @@ -205,6 +205,7 @@ queue-messages-inflighted RestAPI RFC1628 RRDCached +Rubrik Sansymphony SAS scenarii