Skip to content

Commit 625cba1

Browse files
committed
remove useless guard
1 parent 7db3372 commit 625cba1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/models/scd_conversions.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ func WithRequireTimeBounds() Volume4DValidator {
2323

2424
func WithRequireAltitudeBounds() Volume4DValidator {
2525
return func(v *Volume4D) error {
26-
if v.SpatialVolume == nil {
27-
return nil
28-
}
29-
3026
if v.SpatialVolume.AltitudeLo == nil {
3127
return stacktrace.NewError("Missing lower altitude")
3228
}

0 commit comments

Comments
 (0)