This is an automated email from the ASF dual-hosted git repository.
ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-site.git
The following commit(s) were added to refs/heads/master by this push:
new 80964ce35 [YUNIKORN-1170] Update REST API docs to reflect int64
timestamp formats (#150)
80964ce35 is described below
commit 80964ce357dd438491576de3f7e7d76c3da763eb
Author: Craig Condit <[email protected]>
AuthorDate: Tue Apr 5 09:55:42 2022 -0500
[YUNIKORN-1170] Update REST API docs to reflect int64 timestamp formats
(#150)
Closes: #150
---
docs/api/cluster.md | 2 +-
docs/api/scheduler.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/api/cluster.md b/docs/api/cluster.md
index b3a442bca..cf9e4c8da 100644
--- a/docs/api/cluster.md
+++ b/docs/api/cluster.md
@@ -43,7 +43,7 @@ As an example, here is a response from a 2-node cluster with
3 applications and
```json
[
{
- "startTime": "2022-02-21T11:12:05+0000",
+ "startTime": 1649167576110754000,
"rmBuildInformation": [
{
"buildDate": "2022-02-21T19:09:16+0800",
diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index 5c5351498..098a542ce 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -55,7 +55,7 @@ Displays general information about the partition like name,
state, capacity, use
"clusterId": "mycluster",
"name": "default",
"state": "Active",
- "lastStateTransitionTime": "2021-05-20 12:25:49.018953 +0530 IST
m=+0.005949717",
+ "lastStateTransitionTime": 1649167576110754000,
"capacity": {
"capacity": {
"ephemeral-storage": 188176871424,
@@ -91,7 +91,7 @@ Displays general information about the partition like name,
state, capacity, use
"clusterId": "mycluster",
"name": "gpu",
"state": "Active",
- "lastStateTransitionTime": "2021-05-19 12:25:49.018953 +0530 IST
m=+0.005949717",
+ "lastStateTransitionTime": 1649167576111236000,
"capacity": {
"capacity": {
"memory": 2000000000,