Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
rboyer committed Nov 2, 2023
1 parent 28a740b commit 1fc8616
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/deployer/topology/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ func compile(logger hclog.Logger, raw *Config, prev *Topology) (*Topology, error
}
}
} else {
return nil, fmt.Errorf("v1 does not support implied upstreams yet")
if len(svc.ImpliedUpstreams) > 0 {
return nil, fmt.Errorf("v1 does not support implied upstreams yet")
}
}

if err := svc.Validate(); err != nil {
Expand Down

0 comments on commit 1fc8616

Please sign in to comment.