Skip to content

fix: set workerName, instanceName for worker profile and pipeline cha…#19

Open
jasonschroeder-sfdc wants to merge 1 commit intobuildfarm:masterfrom
jasonschroeder-sfdc:setworkername
Open

fix: set workerName, instanceName for worker profile and pipeline cha…#19
jasonschroeder-sfdc wants to merge 1 commit intobuildfarm:masterfrom
jasonschroeder-sfdc:setworkername

Conversation

@jasonschroeder-sfdc
Copy link
Contributor

…nge requests

c := bfpb.NewWorkerControlClient(conn)
r, err := c.PipelineChange(context.Background(), &bfpb.WorkerPipelineChangeRequest{})
r, err := c.PipelineChange(context.Background(), &bfpb.WorkerPipelineChangeRequest{
InstanceName: "shard",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The instance name is set in the app context: https://github.com/buildfarm/bf-client/blob/master/client/app.go#L19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants