diff pkg/imports/stsh.go @ 5020:e4ab338e7ba9

Removed unnecessary creatings of empty slices in expressing read dependencies in imports.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sat, 14 Mar 2020 20:11:10 +0100
parents 046a07a33b19
children 59a99655f34d
line wrap: on
line diff
--- a/pkg/imports/stsh.go	Fri Mar 13 19:14:45 2020 +0100
+++ b/pkg/imports/stsh.go	Sat Mar 14 20:11:10 2020 +0100
@@ -50,10 +50,7 @@
 func (stshJobCreator) Create() Job { return new(StretchShape) }
 
 func (stshJobCreator) Depends() [2][]string {
-	return [2][]string{
-		{"stretches", "stretch_countries"},
-		{},
-	}
+	return [2][]string{{"stretches", "stretch_countries"}}
 }
 
 const (