diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-09-11 12:54:20 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-11 12:54:20 +0100 |
commit | 3a2453c186084a2b7ef15702775809a76e13c45c (patch) | |
tree | 9c0734b9415a2f458c2b4dcc41bf9ea6e8e5305e | |
parent | 17bcd2bcdb8de4818b361582ac4d833ff324f4ff (diff) | |
download | sos-3a2453c186084a2b7ef15702775809a76e13c45c.tar.gz |
[archive] fix local variable name in FileCacheArchive.add_link()
The 'link_path' local was renamed to 'link_name' to better match
other uses in the code.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/archive.py b/sos/archive.py index 4b30630b..528cfa57 100644 --- a/sos/archive.py +++ b/sos/archive.py @@ -428,7 +428,7 @@ class FileCacheArchive(Archive): source = os.path.relpath(source) self.log_debug("Adding link %s -> %s for link follow up" % (link_name, source)) - self.add_link(source, link_path) + self.add_link(source, link_name) elif os.path.isdir(host_source): self.log_debug("Adding dir %s for link follow up" % source) self.add_dir(host_source) |