Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
Signed-off-by: Raghavendra Talur <[email protected]>
  • Loading branch information
raghavendra-talur committed Dec 5, 2024
1 parent 98b40db commit d5a1bfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/controller/vrg_volrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -1992,6 +1992,8 @@ func (v *VRGInstance) restorePVsAndPVCsForVolRep(result *ctrl.Result) (int, erro
return 0, fmt.Errorf("%s: %w", errMsg, err)
}

v.kubeObjectsRecover(result, s3StoreProfile, objectStore)

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: objectStore

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: objectStore

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Golangci Lint (.)

undefined: objectStore

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Build image

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Build image

undefined: objectStore

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Unit tests

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Unit tests

undefined: objectStore

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Unit tests

undefined: s3StoreProfile

Check failure on line 1995 in internal/controller/vrg_volrep.go

View workflow job for this annotation

GitHub Actions / Unit tests

undefined: objectStore

return count, nil
}

Expand Down Expand Up @@ -2046,7 +2048,7 @@ func (v *VRGInstance) restorePVsAndPVCsFromS3(result *ctrl.Result) (int, error)

v.log.Info(fmt.Sprintf("Restored %d PVs and %d PVCs using profile %s", pvCount, pvcCount, s3ProfileName))

return pvCount + pvcCount, v.kubeObjectsRecover(result, s3StoreProfile, objectStore)
return pvCount + pvcCount, nil
}

if NoS3 {
Expand Down

0 comments on commit d5a1bfb

Please sign in to comment.