Skip to content

Commit

Permalink
Change to private (lowercase)
Browse files Browse the repository at this point in the history
  • Loading branch information
josmo committed Feb 5, 2017
1 parent f9a8fd4 commit 4b9a765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remote/bitbucketserver/internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (c *Client) DeleteHook(owner string, name string, link string) error {
if err != nil {
return err
}
putHooks := Filter(hookSettingsToArray(hookSettings), func(item string) bool {
putHooks := filter(hookSettingsToArray(hookSettings), func(item string) bool {

return !strings.Contains(item, link)
})
Expand Down Expand Up @@ -251,7 +251,7 @@ func (c *Client) paginatedRepos(start int) ([]*Repo, error) {
return repoResponse.Values, nil
}

func Filter(vs []string, f func(string) bool) []string {
func filter(vs []string, f func(string) bool) []string {
vsf := make([]string, 0)
for _, v := range vs {
if f(v) {
Expand Down

0 comments on commit 4b9a765

Please sign in to comment.