mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
A small refactor of the e2e tests (#3726)
* A small refactor of the e2e tests Signed-off-by: Carlisia <carlisia@grokkingtech.io> * Add copyright header Signed-off-by: Carlisia <carlisia@grokkingtech.io> * Fix CI Signed-off-by: Carlisia <carlisia@grokkingtech.io> * Revert unneeded changes Signed-off-by: Carlisia <carlisia@grokkingtech.io> * Remove file that doesnt belong here Signed-off-by: Carlisia <carlisia@grokkingtech.io>
This commit is contained in:
committed by
GitHub
parent
02e7d7ac37
commit
ccac3d4130
@@ -245,7 +245,7 @@ func AllCRDs() *unstructured.UnstructuredList {
|
||||
|
||||
// AllResources returns a list of all resources necessary to install Velero, in the appropriate order, into a Kubernetes cluster.
|
||||
// Items are unstructured, since there are different data types returned.
|
||||
func AllResources(o *VeleroOptions) (*unstructured.UnstructuredList, error) {
|
||||
func AllResources(o *VeleroOptions) *unstructured.UnstructuredList {
|
||||
resources := AllCRDs()
|
||||
|
||||
ns := Namespace(o.Namespace)
|
||||
@@ -317,5 +317,5 @@ func AllResources(o *VeleroOptions) (*unstructured.UnstructuredList, error) {
|
||||
appendUnstructured(resources, ds)
|
||||
}
|
||||
|
||||
return resources, nil
|
||||
return resources
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user