Skip to content

Commit

Permalink
Merge branch 'master' into multi-instance
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzxnia committed Mar 17, 2024
2 parents 3160dcb + 769d2ea commit b85f26a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli/workload/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ func SetConfigWorkload(conn *grpc.ClientConn, parsedConfig *lbot.ConfigRequest)
func BuildConfigRequest(request *lbot.ConfigRequest) *proto.ConfigRequest {
cfg := &proto.ConfigRequest{
ConnectionString: request.ConnectionString,
Agent: &proto.AgentRequest{
Name: request.Agent.Name,
Port: request.Agent.Port,
MetricsExportUrl: request.Agent.MetricsExportUrl,
MetricsExportIntervalSeconds: request.Agent.MetricsExportIntervalSeconds,
MetricsExportPort: request.Agent.MetricsExportPort,
},
Jobs: make([]*proto.JobRequest, len(request.Jobs)),
Schemas: make([]*proto.SchemaRequest, len(request.Schemas)),
Debug: request.Debug,
Expand Down

0 comments on commit b85f26a

Please sign in to comment.