Skip to content

Commit

Permalink
Fix func name
Browse files Browse the repository at this point in the history
Signed-off-by: fpinna <[email protected]>
  • Loading branch information
fpinna committed Aug 23, 2021
1 parent 7825086 commit ce4cd61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notifier/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (f Factory) Notifier(provider string) (Interface, error) {
case "msteams":
n, err = NewMSTeams(f.URL, f.ProxyURL)
case "gchat":
n, err = NewMSTeams(f.URL, f.ProxyURL)
n, err = NewGChat(f.URL, f.ProxyURL)
default:
err = fmt.Errorf("provider %s not supported", provider)
}
Expand Down

0 comments on commit ce4cd61

Please sign in to comment.