We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f7683 commit 83ff592Copy full SHA for 83ff592
1 file changed
executor/executor.go
@@ -48,6 +48,7 @@ import (
48
"github.com/AliceO2Group/Control/common/logger"
49
"github.com/AliceO2Group/Control/executor/executorcmd"
50
"github.com/AliceO2Group/Control/executor/protos"
51
+ "github.com/golang/protobuf/proto"
52
"github.com/mesos/mesos-go/api/v1/lib"
53
"github.com/mesos/mesos-go/api/v1/lib/backoff"
54
"github.com/mesos/mesos-go/api/v1/lib/encoding"
@@ -674,6 +675,7 @@ func protoString(s string) *string { return &s }
674
675
676
// update sends UPDATE to agent.
677
func update(state *internalState, status mesos.TaskStatus) error {
678
+ status.Timestamp = proto.Float64(float64(time.Now().Unix()))
679
log.WithFields(logrus.Fields{
680
"status": status.State.String(),
681
"id": status.TaskID.Value,
0 commit comments