From 2ab47c3c8d74ac5f1cd25eaa19af8158dd5784e5 Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Mon, 14 Dec 2020 11:49:20 +0100 Subject: [PATCH] fix: Lastspooltime (#1102) * feat: last spool time convert * feat: last spool time convert --- internal/api/grpc/admin/administrator_converter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/api/grpc/admin/administrator_converter.go b/internal/api/grpc/admin/administrator_converter.go index 1f93d2496c..edd1691eaa 100644 --- a/internal/api/grpc/admin/administrator_converter.go +++ b/internal/api/grpc/admin/administrator_converter.go @@ -28,8 +28,8 @@ func failedEventsFromModel(failedEvents []*view_model.FailedEvent) []*admin.Fail func viewFromModel(view *view_model.View) *admin.View { eventTimestamp, err := ptypes.TimestampProto(view.EventTimestamp) logging.Log("GRPC-KSo03").OnError(err).Debug("unable to parse timestamp") - lastSpool, err := ptypes.TimestampProto(view.EventTimestamp) - logging.Log("GRPC-KSo03").OnError(err).Debug("unable to parse timestamp") + lastSpool, err := ptypes.TimestampProto(view.LastSuccessfulSpoolerRun) + logging.Log("GRPC-0oP87").OnError(err).Debug("unable to parse timestamp") return &admin.View{ Database: view.Database,