store time of the cluster event

This commit is contained in:
Murat Kabilov
2017-09-26 13:17:23 +02:00
parent c44cfff988
commit f77852a152
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -298,6 +298,7 @@ func (c *Controller) queueClusterEvent(old, new *spec.Postgresql, eventType spec
workerID := c.clusterWorkerID(clusterName)
clusterEvent := spec.ClusterEvent{
EventTime: time.Now(),
EventType: eventType,
UID: uid,
OldSpec: old,