File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ func DenyAllFilter() HostFilter {
29
29
})
30
30
}
31
31
32
- // DataCentreHostFilter filters all hosts such that they are in the same data centre
32
+ // DataCenterHostFilter filters all hosts such that they are in the same data centre
33
33
// as the supplied data centre.
34
- func DataCentreHostFilter (dataCentre string ) HostFilter {
34
+ func DataCenterHostFilter (dataCentre string ) HostFilter {
35
35
return HostFilterFunc (func (host * HostInfo ) bool {
36
36
return host .DataCenter () == dataCentre
37
37
})
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ func TestFilter_DenyAll(t *testing.T) {
74
74
}
75
75
}
76
76
77
- func TestFilter_DataCentre (t * testing.T ) {
78
- f := DataCentreHostFilter ("dc1" )
77
+ func TestFilter_DataCenter (t * testing.T ) {
78
+ f := DataCenterHostFilter ("dc1" )
79
79
tests := [... ]struct {
80
80
dc string
81
81
accept bool
You can’t perform that action at this time.
0 commit comments