diff pkg/models/bn.go @ 1708:49e047c2106e

Imports: Made imports re-runnable if they fail.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 08 Jan 2019 13:35:44 +0100
parents d8ca44615bfc
children
line wrap: on
line diff
--- a/pkg/models/bn.go	Tue Jan 08 12:34:29 2019 +0100
+++ b/pkg/models/bn.go	Tue Jan 08 13:35:44 2019 +0100
@@ -13,10 +13,13 @@
 
 package models
 
+import "gemma.intevation.de/gemma/pkg/common"
+
 type BottleneckImport struct {
-	URL       string `json:"url"`
-	Insecure  bool   `json:"insecure"`
-	SendEmail bool   `json:"send-email"`
+	URL        string            `json:"url"`
+	Insecure   bool              `json:"insecure"`
+	SendEmail  bool              `json:"send-email"`
+	Attributes common.Attributes `json:"attributes,omitempty"`
 }
 
 type Bottleneck struct {