From cd5fdf8295241efea465eabac5ed2c00218e334a Mon Sep 17 00:00:00 2001 From: andreaangiolillo Date: Thu, 22 May 2025 12:42:12 +0200 Subject: [PATCH] CLOUDP-318638: Failed Test: mongodb-atlas-cli-master-github.com_mongodb_mongodb-atlas-cli_atlascli_test_e2e_backupflex.TestFlexBackup/atlas_backups_flex_e2e/e2e_atlas_backups --- internal/cli/backup/restores/start.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/backup/restores/start.go b/internal/cli/backup/restores/start.go index eb52cbece5..aae2d61905 100644 --- a/internal/cli/backup/restores/start.go +++ b/internal/cli/backup/restores/start.go @@ -174,7 +174,7 @@ func (opts *StartOpts) checkIsFlexCluster() error { return nil } - if !atlasv2.IsErrorCode(err, cannotUseFlexWithClusterApisErrorCode) { + if !atlasClustersPinned.IsErrorCode(err, cannotUseFlexWithClusterApisErrorCode) { return err }