func newMetricStepPayload(step core.Step) *metricStepPayload { return &metricStepPayload{ Owner: step.Owner(), Name: step.Name(), Version: step.Version(), FullName: fmt.Sprintf("%s/%s", step.Owner(), step.Name()), UniqueName: formatUniqueStepName(step), } }
func formatUniqueStepName(step core.Step) string { return fmt.Sprintf("%s/%s@%s", step.Owner(), step.Name(), step.Version()) }