Skip to content

Commit

Permalink
cap should be arbitrary (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarumaj authored Oct 6, 2023
1 parent b655185 commit f636c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/configfile/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type Profile struct {
type Profiles []Profile

func (p Profiles) ToMap() map[string]Profile {
m := make(map[string]Profile, len(p))
m := make(map[string]Profile)
for _, profile := range p {
m[profile.Host] = profile
}
Expand Down

0 comments on commit f636c20

Please sign in to comment.