mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 23:47:12 +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 {
|
||||
if len(steps) < 2 {
|
||||
return fmt.Errorf("funnel must have at least 2 steps")
|
||||
}
|
||||
// if len(steps) < 2 {
|
||||
// return fmt.Errorf("funnel must have at least 2 steps")
|
||||
// }
|
||||
|
||||
for i, step := range steps {
|
||||
if step.ServiceName == "" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user