mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-24 02:46:27 +00:00
fix: removing the check mandating 2 steps needed to create a funnel
This commit is contained in:
parent
273452352d
commit
861affa98e
@ -27,9 +27,9 @@ func ValidateTimestampIsMilliseconds(timestamp int64) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ValidateFunnelSteps(steps []*FunnelStep) error {
|
func ValidateFunnelSteps(steps []*FunnelStep) error {
|
||||||
if len(steps) < 2 {
|
// if len(steps) < 2 {
|
||||||
return fmt.Errorf("funnel must have at least 2 steps")
|
// return fmt.Errorf("funnel must have at least 2 steps")
|
||||||
}
|
// }
|
||||||
|
|
||||||
for i, step := range steps {
|
for i, step := range steps {
|
||||||
if step.ServiceName == "" {
|
if step.ServiceName == "" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user