Merge "remove sample sorting"
This commit is contained in:
commit
d9ecd9b19f
@ -11,7 +11,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
from operator import methodcaller
|
|
||||||
|
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
from stevedore import extension
|
from stevedore import extension
|
||||||
@ -81,7 +80,7 @@ class InterimSampleEndpoint(base.NotificationEndpoint):
|
|||||||
s, self.conf.publisher.telemetry_secret)
|
s, self.conf.publisher.telemetry_secret)
|
||||||
]
|
]
|
||||||
with self.publisher as p:
|
with self.publisher as p:
|
||||||
p(sorted(samples, key=methodcaller('get_iso_timestamp')))
|
p(samples)
|
||||||
|
|
||||||
|
|
||||||
class SampleSource(base.PipelineSource):
|
class SampleSource(base.PipelineSource):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user