Skip to content

Commit

Permalink
feat: change metrics port to 8000 (dragonflyoss#964)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Dec 29, 2021
1 parent c6b7ab9 commit abfa0a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdn/config/old_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func NewDefaultBaseProperties() *BaseProperties {
},
Host: HostConfig{},
Metrics: &RestConfig{
Addr: ":8080",
Addr: ":8000",
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion cdn/metrics/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c Config) applyDefaults() Config {
c.Net = DefaultNetwork
}
if c.Addr == "" {
c.Addr = ":8080"
c.Addr = ":8000"
}
return c
}
Expand Down

0 comments on commit abfa0a3

Please sign in to comment.