deploy-cache: Fixup targetimages extract typo 17/25317/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Dec 2016 12:04:03 +0000 (13:04 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Dec 2016 12:04:33 +0000 (13:04 +0100)
JIRA: ARMBAND-172

Change-Id: I9f549e0161d39d8f72fff698cfc26c164b0f10ae
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch

index 93c91a7..52e85a4 100644 (file)
@@ -584,7 +584,7 @@ index 0000000..d7ec1c7
 +                else:
 +                    log('New cache SHA1: %s (%s)' % (str(sha), artifact))
 +                    cache_sha_dir = os.path.join(self.cache_dir, sha)
-+                    exec_cmd('mkdir -p %s', cache_sha_dir)
++                    exec_cmd('mkdir -p %s' % cache_sha_dir)
 +                    func(ssh, cache_sha_dir)
 +        except Exception as ex:
 +            log('Failed to extract artifacts from Fuel: %s' % str(ex))