Skip to content

Commit

Permalink
fix: Fix wrong schema error message
Browse files Browse the repository at this point in the history
  • Loading branch information
minuk-dev committed Nov 12, 2024
1 parent be44791 commit f97aa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func (s *Supervisor) startOpAMPClient() error {
case "http", "https":
s.opampClient = client.NewHTTP(newLoggerFromZap(s.logger))
default:
return fmt.Errorf("unsupported scheme in server endpoint: %s", parsedURL.Scheme)
return fmt.Errorf("unsupported scheme in server endpoint: %q", parsedURL.Scheme)
}

s.logger.Debug("Connecting to OpAMP server...", zap.String("endpoint", s.config.Server.Endpoint), zap.Any("headers", s.config.Server.Headers))
Expand Down

0 comments on commit f97aa2c

Please sign in to comment.