changeset 2853:adf355aaef57

Ignore predicted values in AGM diff.
author Sascha Wilde <wilde@intevation.de>
date Thu, 28 Mar 2019 17:18:01 +0100
parents 0bca55dde5f2
children 1b5acce6120d
files pkg/imports/agm.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/agm.go	Thu Mar 28 17:06:08 2019 +0100
+++ b/pkg/imports/agm.go	Thu Mar 28 17:18:01 2019 +0100
@@ -507,7 +507,7 @@
 				oldSourceOrganization,
 			)
 			// Ignore if there is no diff.
-			if !n.hasDiff(o) {
+			if o.Predicted || !n.hasDiff(o) {
 				continue
 			}
 			ase.Versions = []*agmLine{o, n}