diff -Nru sosreport-3.5/debian/changelog sosreport-3.5/debian/changelog --- sosreport-3.5/debian/changelog 2017-12-05 12:04:34.000000000 -0500 +++ sosreport-3.5/debian/changelog 2018-01-22 09:11:24.000000000 -0500 @@ -1,3 +1,11 @@ +sosreport (3.5-1ubuntu2) bionic; urgency=medium + + * d/p/0003-fix-name-containers-is-not-defined.patch: + "containers" is an unknown variable, "insp" is + the correct one. + + -- Eric Desrochers Mon, 15 Jan 2018 18:39:54 -0500 + sosreport (3.5-1ubuntu1) bionic; urgency=medium * d/p/0002-reset-to-expected-variable-order-for-packagemanager.patch: diff -Nru sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch --- sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch 1969-12-31 19:00:00.000000000 -0500 +++ sosreport-3.5/debian/patches/0003-fix-name-containers-is-not-defined.patch 2018-01-22 09:12:08.000000000 -0500 @@ -0,0 +1,20 @@ +Description: [docker] fix copy&paste error in a for cycle + "containers" is an unknown variable, "insp" is the correct one + Resolves: #1148 +Author: Pavel Moravec +Origin: upstream, https://github.com/sosreport/sos/commit/68e149809d5b487d0c5800b5a1a005aaad83c7be +Bug: https://github.com/sosreport/sos/pull/1148 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1734983 +Index: sosreport-3.5/sos/plugins/docker.py +=================================================================== +--- sosreport-3.5.orig/sos/plugins/docker.py ++++ sosreport-3.5/sos/plugins/docker.py +@@ -97,7 +97,7 @@ class Docker(Plugin): + ) + ) + if self.get_option('logs'): +- for container in containers: ++ for container in insp: + self.add_cmd_output( + "{0} logs {1}".format( + self.docker_cmd, diff -Nru sosreport-3.5/debian/patches/series sosreport-3.5/debian/patches/series --- sosreport-3.5/debian/patches/series 2017-12-05 12:04:34.000000000 -0500 +++ sosreport-3.5/debian/patches/series 2018-01-22 09:11:24.000000000 -0500 @@ -1,2 +1,3 @@ 0001-skip-py2-only-tests.patch 0002-reset-to-expected-variable-order-for-packagemanager.patch +0003-fix-name-containers-is-not-defined.patch