]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: use cluster-provided timestamp unmolested
authorSage Weil <sage@redhat.com>
Mon, 29 Apr 2019 19:32:44 +0000 (14:32 -0500)
committerJoao Eduardo Luis <joao@suse.com>
Mon, 9 Dec 2019 19:36:54 +0000 (19:36 +0000)
commit6e4a5309af0359e2dcfd8679dad3d9a31c32bef4
treebd5361fd93247cb786def823c9643273eee63607
parente755677cadf5c9743e79d353eb08aa7317f371f6
mgr/telemetry: use cluster-provided timestamp unmolested

The cluster stamp is now ISO 8601; just use that.

(The isoformat() puts a : in +hh:mm the timezone offset, which is slightly
different than what Ceph does; just pass Ceph's value through for
consistency.)

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 383006a5cc2da3e0b643a9dc600e75e1ce088bd6)

Conflicts:
src/pybind/mgr/telemetry/module.py
          Due to missing scaffolding that exists in master but was not
          backported to luminous.
src/pybind/mgr/telemetry/module.py