Remove call to PITR backup check (#4067)

Currently failing due to minor upstream bugs. Disable until we can get upstream fixes in.

Revert this merge once upstream issues are fixed

---

#### Does this PR need a docs update or release note?

- [ ]  Yes, it's included
- [ ] 🕐 Yes, but in a later PR
- [x]  No

#### Type of change

- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Supportability/Tests
- [x] 💻 CI/Deployment
- [ ] 🧹 Tech Debt/Cleanup

#### Issue(s)

* #4031

#### Test Plan

- [x] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
ashmrtn 2023-08-18 09:09:08 -07:00 committed by GitHub
parent a1cbbf9f48
commit 8d3fdeeb8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,9 @@ func deleteBackups(
// pitrListBackups connects to the repository at the given point in time and
// lists the backups for service. It then checks the list of backups contains
// the backups in backupIDs.
//
//nolint:unused
//lint:ignore U1000 Waiting for upstream fix tracked by 4031
func pitrListBackups(
ctx context.Context,
service path.ServiceType,
@ -156,16 +159,10 @@ func main() {
fatal(ctx, "invalid number of days provided", nil)
}
beforeDel := time.Now()
backups, err := deleteBackups(ctx, service, days)
_, err = deleteBackups(ctx, service, days)
if err != nil {
fatal(ctx, "deleting backups", clues.Stack(err))
}
if err := pitrListBackups(ctx, service, beforeDel, backups); err != nil {
fatal(ctx, "listing backups from point in time", clues.Stack(err))
}
}
func fatal(ctx context.Context, msg string, err error) {