mirror of
https://github.com/status-im/consul.git
synced 2025-01-26 21:51:39 +00:00
website: Correct some empty lists to null
This commit is contained in:
parent
30307f877b
commit
7c31a313db
@ -169,7 +169,7 @@ This endpoint is hit with a GET and returns a JSON body like this:
|
|||||||
"redis":{
|
"redis":{
|
||||||
"ID":"redis",
|
"ID":"redis",
|
||||||
"Service":"redis",
|
"Service":"redis",
|
||||||
"Tags":[],
|
"Tags":null,
|
||||||
"Port":8000
|
"Port":8000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -508,7 +508,7 @@ It returns a JSON body like this:
|
|||||||
"Address":"10.1.10.12",
|
"Address":"10.1.10.12",
|
||||||
"ServiceID":"redis",
|
"ServiceID":"redis",
|
||||||
"ServiceName":"redis",
|
"ServiceName":"redis",
|
||||||
"ServiceTags":[],
|
"ServiceTags":null,
|
||||||
"ServicePort":8000
|
"ServicePort":8000
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -533,7 +533,7 @@ It returns a JSON body like this:
|
|||||||
"consul":{
|
"consul":{
|
||||||
"ID":"consul",
|
"ID":"consul",
|
||||||
"Service":"consul",
|
"Service":"consul",
|
||||||
"Tags":[],
|
"Tags":null,
|
||||||
"Port":8300
|
"Port":8300
|
||||||
},
|
},
|
||||||
"redis":{
|
"redis":{
|
||||||
@ -655,7 +655,7 @@ It returns a JSON body like this:
|
|||||||
"Service":{
|
"Service":{
|
||||||
"ID":"redis",
|
"ID":"redis",
|
||||||
"Service":"redis",
|
"Service":"redis",
|
||||||
"Tags":[],
|
"Tags":null,
|
||||||
"Port":8000
|
"Port":8000
|
||||||
},
|
},
|
||||||
"Checks":[
|
"Checks":[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user