Skip to content

Commit

Permalink
rename label
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvigee committed Dec 29, 2024
1 parent 93bbc6e commit 3e39526
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/engine/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func (e *Engine) pipes(ctx context.Context, driver pluginv1connect.DriverClient,
func (e *Engine) Execute(ctx context.Context, def *LightLinkedTarget, options ExecOptions, sf *Singleflight) (*ExecuteResult, error) {
debugger.SetLabels(func() []string {
return []string{
fmt.Sprintf("hephv2/engine: Execute %v %v", def.Ref.GetPackage(), def.Ref.GetName()), "",
fmt.Sprintf("heph/engine: Execute %v %v", def.Ref.GetPackage(), def.Ref.GetName()), "",
}
})

Expand Down
2 changes: 1 addition & 1 deletion plugin/pluginexec/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (p *Plugin) inputEnv(
func (p *Plugin) Run(ctx context.Context, req *connect.Request[pluginv1.RunRequest]) (*connect.Response[pluginv1.RunResponse], error) {
debugger.SetLabels(func() []string {
return []string{
fmt.Sprintf("hephv2/pluginexec %v: %v %v", p.name, req.Msg.GetTarget().GetRef().GetPackage(), req.Msg.GetTarget().GetRef().GetName()), "",
fmt.Sprintf("heph/pluginexec %v: %v %v", p.name, req.Msg.GetTarget().GetRef().GetPackage(), req.Msg.GetTarget().GetRef().GetName()), "",
}
})

Expand Down

0 comments on commit 3e39526

Please sign in to comment.