Skip to content

Commit

Permalink
[chore] fix removed var declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
adrielp committed Jan 30, 2025
1 parent 8b2f03b commit 1aedf0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions receiver/githubreceiver/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ func (gtr *githubTracesReceiver) getWorkflowAttrs(resource pcommon.Resource, e *
return err
}

// splitRefWorkflow takes in the workl
func splitRefWorkflow(workflow string) (name string, version string, err error) {
return "", "", nil
}
Expand All @@ -210,7 +209,7 @@ func splitRefWorkflow(workflow string) (name string, version string, err error)
func (gtr *githubTracesReceiver) getServiceName(customProps any, repoName string) (string, error) {
switch {
case gtr.cfg.WebHook.ServiceName != "":

formatted := formatString(gtr.cfg.WebHook.ServiceName)
return formatted, nil
// customProps would be an index map[string]interface{} passed in but should
// only be non-nil if the index of `service_name` exists
Expand Down

0 comments on commit 1aedf0c

Please sign in to comment.