Skip to content

Commit

Permalink
remove duplicate RocketChatReporterConfigs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinschneider committed Sep 4, 2023
1 parent 34da8ed commit 451007e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions prow/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1585,10 +1585,6 @@ type RocketChatReporter struct {
// Use `org/repo`, `org` or `*` as key and an `RocketChatReporter` struct as value.
type RocketChatReporterConfigs map[string]RocketChatReporter

// RocketChatReporterConfig represents the config for the RocketChat reporter(s).
// Use `org/repo`, `org` or `*` as key and an `RocketChatReporter` struct as value.
type RocketChatReporterConfig map[string]RocketChatReporter

func (cfg RocketChatReporterConfigs) GetRocketChatReporter(refs *prowapi.Refs) RocketChatReporter {
if refs == nil {
return cfg["*"]
Expand Down

0 comments on commit 451007e

Please sign in to comment.