Skip to content

Commit

Permalink
more merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoffl01 committed Dec 20, 2024
1 parent 48cc8ef commit 91f52b4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions internal/statsdtest/statsdtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ func (tg *TestStatsdClient) CallsByName() map[string]int {
return counts
}

<<<<<<< HEAD
// GetCallsByName returns a slice of TestStatsdCalls with the provided name on the TestStatsdClient
// It's useful if you want to use any TestStatsdCall method calls on the result(s)
func (tg *TestStatsdClient) GetCallsByName(name string) (calls []TestStatsdCall) {
tg.mu.RLock()
defer tg.mu.RUnlock()
Expand All @@ -258,7 +259,9 @@ func (tg *TestStatsdClient) GetCallsByName(name string) (calls []TestStatsdCall)
}
}
return calls
=======
}

// FilterCallsByName returns a slice of TestStatsdCalls with the provided name, from the list of provided TestStatsdCalls
func FilterCallsByName(calls []TestStatsdCall, name string) []TestStatsdCall {
var matches []TestStatsdCall
for _, c := range calls {
Expand All @@ -267,7 +270,6 @@ func FilterCallsByName(calls []TestStatsdCall, name string) []TestStatsdCall {
}
}
return matches
>>>>>>> main
}

func (tg *TestStatsdClient) Counts() map[string]int64 {
Expand Down

0 comments on commit 91f52b4

Please sign in to comment.