changeset 2027:6b9f0fe741dc unify_imports

Removed debris.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 24 Jan 2019 18:23:31 +0100
parents ec92398b3af7
children a8d8e855cb26
files pkg/controllers/manualimports.go
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/manualimports.go	Thu Jan 24 18:20:05 2019 +0100
+++ b/pkg/controllers/manualimports.go	Thu Jan 24 18:23:31 2019 +0100
@@ -124,21 +124,6 @@
 	}
 }
 
-func retry(a common.Attributes) (time.Time, *int, *time.Duration) {
-	due, _ := a.Time("due")
-	ret, ok := a.Int("retries")
-	var retries *int
-	if ok {
-		retries = &ret
-	}
-	dur, ok := a.Duration("wait-retry")
-	var duration *time.Duration
-	if ok {
-		duration = &dur
-	}
-	return due, retries, duration
-}
-
 func nilString(s *string) string {
 	if s != nil {
 		return *s