From 358db10fef8559d8511c84a1b7702ac88e33f829 Mon Sep 17 00:00:00 2001 From: Martin Buhr Date: Fri, 19 Dec 2014 14:22:45 +0000 Subject: [PATCH] Versioning forced on insert --- command_mode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command_mode.go b/command_mode.go index 94d5bbe9d99..c1fa21a8620 100644 --- a/command_mode.go +++ b/command_mode.go @@ -117,6 +117,7 @@ func createDefFromBluePrint(bp *BluePrintAST, orgId, upstreamURL string, as_mock thisAD.VersionDefinition.Key = "version" thisAD.VersionDefinition.Location ="header" thisAD.VersionData.Versions = make(map[string]tykcommon.VersionInfo) + thisAD.VersionData.NotVersioned = false thisAD.Proxy.ListenPath = "/" + thisAD.APIID + "/" thisAD.Proxy.StripListenPath = true thisAD.Proxy.TargetURL = upstreamURL