Skip to content

Commit 231367b

Browse files
author
Andrew Farries
committed
Off topic: Fix error string
1 parent c719aa9 commit 231367b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/public-api-server/pkg/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func Start(logger *logrus.Entry, cfg *config.Configuration) error {
2222

2323
gitpodAPI, err := url.Parse(cfg.GitpodServiceURL)
2424
if err != nil {
25-
return fmt.Errorf("failed to parse Gitpod API U: %w", err)
25+
return fmt.Errorf("failed to parse Gitpod API URL: %w", err)
2626
}
2727

2828
registry := prometheus.NewRegistry()

components/usage/pkg/server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func Start(cfg Config) error {
8585

8686
err = srv.ListenAndServe()
8787
if err != nil {
88-
return fmt.Errorf("failed to listen and server: %w", err)
88+
return fmt.Errorf("failed to listen and serve: %w", err)
8989
}
9090

9191
return nil

0 commit comments

Comments
 (0)