Skip to content

Commit

Permalink
fix badly named variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rraymondgh committed Jan 26, 2025
1 parent 27dde82 commit 9caa0db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/torznab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func NewDefaultConfig() Config {
}

func (c *Config) Map() map[string]Profile {
configMap := make(map[string]Profile, len(c.Profiles))
profileMap := make(map[string]Profile, len(c.Profiles))
for _, profile := range c.Profiles {
configMap[profile.Name] = profile.completeProfile()
profileMap[profile.Name] = profile.completeProfile()
}

return configMap
return profileMap
}

0 comments on commit 9caa0db

Please sign in to comment.