Skip to content

Commit

Permalink
wrong format suggested by copilot corrected ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslaw-pieszka committed Apr 15, 2024
1 parent 74966d4 commit b05af8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/subaccountsync/subaccount_sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (s *SyncService) Run() {
http.Handle("/metrics", promHandler)

go func() {
address := fmt.Sprintf(":%d", s.cfg.MetricsPort)
address := fmt.Sprintf(":%s", s.cfg.MetricsPort)
err := http.ListenAndServe(address, nil)
if err != nil {
logger.Error(fmt.Sprintf("while serving metrics: %s", err))
Expand Down

0 comments on commit b05af8d

Please sign in to comment.