# HG changeset patch # User Sascha L. Teichmann # Date 1549280990 -3600 # Node ID 46343e3f7a3e0b99efafdfaff778c45f45505dda # Parent 1baae9d31b3deb60b0a8223cb4f4c9f5834bab98 Imports: Fixed small issue with de-serializing stretches. diff -r 1baae9d31b3d -r 46343e3f7a3e pkg/models/imports.go --- a/pkg/models/imports.go Mon Feb 04 12:30:58 2019 +0100 +++ b/pkg/models/imports.go Mon Feb 04 12:49:50 2019 +0100 @@ -223,7 +223,7 @@ return err } sti.From = *f - to, found := attrs.Get("from") + to, found := attrs.Get("to") if !found { return errors.New("missing 'to' attribute") }