mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
appease linter
This commit is contained in:
@@ -19,7 +19,7 @@ type mockStatsGatherer struct {
|
||||
ready chan bool
|
||||
}
|
||||
|
||||
func NewMockStatsGatherer() *mockStatsGatherer {
|
||||
func newMockStatsGatherer() *mockStatsGatherer {
|
||||
return &mockStatsGatherer{ready: make(chan bool)}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ func TestContainer(t *testing.T) {
|
||||
|
||||
const hostID = "scope"
|
||||
c := docker.NewContainer(container1, hostID)
|
||||
s := NewMockStatsGatherer()
|
||||
s := newMockStatsGatherer()
|
||||
err := c.StartGatheringStats(s)
|
||||
if err != nil {
|
||||
t.Errorf("%v", err)
|
||||
|
||||
Reference in New Issue
Block a user