Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,12 @@ public Pair<Map<String, BackupApi>, Set<String>> listBackups(
String rscName = rscDfn.getName().displayValue;
String snapName = snapDfn.getName().displayValue;

if (snapNameRef != null && !snapNameRef.isEmpty() && snapNameRef.equals(snapName))
{
// Doesn't match the requested snapshot name, skip it.
continue;
}

String s3Suffix = snapDfn.getProps(peerCtx).getProp(
ApiConsts.KEY_BACKUP_S3_SUFFIX,
ApiConsts.NAMESPC_BACKUP_SHIPPING
Expand Down