Browse Source

Remove the deprecated kolla-build section

TrivialFix

Change-Id: I3ee10efc093ed394c3af483a229dcd9dc732ec9a
changes/09/325709/2
Jeffrey Zhang 6 years ago
parent
commit
9585c1be9f
  1. 3
      kolla/cmd/build.py
  2. 2
      kolla/common/config.py

3
kolla/cmd/build.py

@ -233,7 +233,6 @@ class BuildTask(task.Task):
self.image = image
self.dc = docker_client()
self.push_queue = push_queue
self.nocache = not conf.cache or conf.no_cache
self.forcerm = not conf.keep
@property
@ -399,7 +398,7 @@ class BuildTask(task.Task):
buildargs = self.update_buildargs()
for response in self.dc.build(path=image.path,
tag=image.canonical_name,
nocache=self.nocache,
nocache=not self.conf.cache,
rm=True,
pull=pull,
forcerm=self.forcerm,

2
kolla/common/config.py

@ -127,7 +127,7 @@ _CLI_OPTS = [
' dependency in Graphviz dot format')),
cfg.StrOpt('type', short='t', default='binary',
choices=INSTALL_TYPE_CHOICES,
dest='install_type', deprecated_group='kolla-build',
dest='install_type',
help=('The method of the OpenStack install')),
cfg.IntOpt('threads', short='T', default=8, min=1,
deprecated_group='kolla-build',

Loading…
Cancel
Save