Switch MCP_VERSION => TARGET_MCP_VERSION
Change-Id: Iaa65e65cd90b7295360aa5176f5befe7ad344d5f
Bug-relateted: PROD-24789 (PROD:24789)
diff --git a/test-cookiecutter-reclass.groovy b/test-cookiecutter-reclass.groovy
index cee90d1..9312097 100644
--- a/test-cookiecutter-reclass.groovy
+++ b/test-cookiecutter-reclass.groovy
@@ -196,7 +196,7 @@
testDistribRevision = testDistribRevision.split('/')[-1]
}
// Check if we are going to test bleeding-edge release, which doesn't have binary release yet
- if (!common.checkRemoteBinary([apt_mk_version: testDistribRevision]).linux_system_repo_url) {
+ if (!common.checkRemoteBinary([mcp_version: testDistribRevision]).linux_system_repo_url) {
common.errorMsg("Binary release: ${testDistribRevision} not exist. Fallback to 'proposed'! ")
testDistribRevision = 'proposed'
messages.add("DISTRIB_REVISION => ${testDistribRevision}")