prevent predicatesOrdering from escaping from UT
- sets `predicatesOrdering` back to original value in UT
This commit is contained in:
@@ -173,11 +173,6 @@ func Ordering() []string {
|
||||
return predicatesOrdering
|
||||
}
|
||||
|
||||
// SetPredicatesOrdering sets the ordering of predicates.
|
||||
func SetPredicatesOrdering(names []string) {
|
||||
predicatesOrdering = names
|
||||
}
|
||||
|
||||
// GetPersistentVolumeInfo returns a persistent volume object by PV ID.
|
||||
func (c *CachedPersistentVolumeInfo) GetPersistentVolumeInfo(pvID string) (*v1.PersistentVolume, error) {
|
||||
return c.Get(pvID)
|
||||
|
||||
Reference in New Issue
Block a user