// FilterTarget implements the Filter.
FilterTarget implements the Filter.
// FilterTarget implements the Filter .
func (f *posFilter) Target(opt opt.Options, store *core.StoreInfo) bool {
	for _, pos := range f.position {
		fmt.Printf("posFilter-Target: user specified label --- key:%s value:%s\n", pos[0], pos[1])
		key := pos[0]
		if value := store.GetLabelValue(key); value != pos[1] {
			fmt.Printf("posFilter-Target: store %d label --- key:%s value:%s\n", store.GetID(), key, value)
			return true
		}
	}
	return false
}
func ( f * posFilter ) Target ( opt opt . Options , store * core . StoreInfo ) bool { for _ , pos := range f . position { fmt . Printf ( " \n " , pos [ 0 ] , pos [ 1 ] ) key := pos [ 0 ] if value := store . GetLabelValue ( key ) ; value != pos [ 1 ] { fmt . Printf ( " \n " , store . GetID ( ) , key , value ) return true } } return false }
FilterTarget implements the Filter.
FilterTarget implements the Filter .