mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
refact(cleanup): Removing deadcode from the repo (#323)
Signed-off-by: Sonia Singla <soniasingla.1812@gmail.com>
This commit is contained in:
parent
0ebab22224
commit
62b3a0b7fe
1 changed files with 0 additions and 12 deletions
|
|
@ -57,15 +57,3 @@ func IsNil() Predicate {
|
|||
|
||||
// PredicateList holds a list of predicate
|
||||
type PredicateList []Predicate
|
||||
|
||||
// all returns true if all the predicates
|
||||
// succeed against the provided pvc
|
||||
// instance
|
||||
func (l PredicateList) all(v *Volume) bool {
|
||||
for _, pred := range l {
|
||||
if !pred(v) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue