diff options
author | 2017-06-21 15:48:17 -0700 | |
---|---|---|
committer | 2017-07-18 19:54:39 +0000 | |
commit | 38e67fcd310cd2a34c4213f6fc57f2f943e52f2a (patch) | |
tree | 704440699639bd7cc0d6b5515818b26f100ad895 /.gitreview | |
parent | 187c1e66d4341e6c1fad308ca4d17d4d5026f61a (diff) |
Fix --noop being ignored for dhclient execution
The stop_dhclient_execution() method calls netconfig.execute
directly from the object, instead of from the instance of
the object. This has the effect that when execute is called,
noop is always set false, even if os-net-config was called
with --noop. This results in a failure or network outage.
This change checks the value of self.noop from within the
provider.apply() method before calling the
stop_dhclient_execution method.
Change-Id: Ie2cc4519d7028dceb3a14bd7711839834db0ebdf
Closes-bug: 1699590
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions