aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanxiang Gao <gao.hanxiang@99cloud.net>2020-03-09 20:51:25 +0800
committerHanxiang Gao <gao.hanxiang@99cloud.net>2020-03-09 21:02:27 +0800
commita82db69dd3b9b7b83f766244dfec5e18ef09603f (patch)
tree2e0d69bb89453eeeae2520a5711d419ede3200a3
parent90e38f23d4e25c30c9807ab511ca4e101adcf688 (diff)
downloadkolla-a82db69dd3b9b7b83f766244dfec5e18ef09603f.tar.gz
kolla-a82db69dd3b9b7b83f766244dfec5e18ef09603f.zip
fix: Remove unused variables
'self.nocache' variable is not used, has replaced it with 'not self.conf.cache'. Change-Id: I46c59250b1781aadcb486567a8fd0750a05e2f7e
-rwxr-xr-xkolla/image/build.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 1c514151a..0eddc36d2 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -406,7 +406,6 @@ class BuildTask(DockerTask):
self.conf = conf
self.image = image
self.push_queue = push_queue
- self.nocache = not conf.cache
self.forcerm = not conf.keep
self.logger = image.logger