summaryrefslogtreecommitdiff
path: root/keadm
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2024-08-27 11:58:38 +0800
committerGitHub <noreply@github.com>2024-08-27 11:58:38 +0800
commitaa7494f677a3505e01743ac65f2d04a3b2c6a281 (patch)
treefbdcb64689b2880bd97091fcca8917898fdaa92d /keadm
parentMerge pull request #5808 from Catherine-monk/kubeedge/makefile (diff)
parentMake kubeedge time international (diff)
downloadkubeedge-origin/HEAD.tar.gz
Merge pull request #5817 from WillardHu/time-utcorigin/masterorigin/HEAD
Make the timestamps of kubeedge resources support international time
Diffstat (limited to 'keadm')
-rw-r--r--keadm/cmd/keadm/app/cmd/util/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/keadm/cmd/keadm/app/cmd/util/common.go b/keadm/cmd/keadm/app/cmd/util/common.go
index 5944f62e9..754588419 100644
--- a/keadm/cmd/keadm/app/cmd/util/common.go
+++ b/keadm/cmd/keadm/app/cmd/util/common.go
@@ -653,7 +653,7 @@ func ReportTaskResult(config *v1alpha2.EdgeCoreConfig, taskType, taskID string,
NodeName: config.Modules.Edged.HostnameOverride,
Event: event.Type,
Action: event.Action,
- Time: time.Now().Format(constants.ISO8601UTC),
+ Time: time.Now().UTC().Format(time.RFC3339),
Reason: event.Msg,
}
edgeHub := config.Modules.EdgeHub