Move _log to markdown block;Try more random variants
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2022-02-14 13:56:37 +01:00
parent 7fa6866a1d
commit c2357484e4
2 changed files with 13 additions and 8 deletions

View File

@ -3,7 +3,7 @@ const fastify = require('fastify')({ logger: true })
// Declare a route
fastify.get('/', async (request, reply) => {
return [
return { data: [
{
component: 'VI_IT_VIRTUALIZATION',
version: '2.4.0',
@ -14,7 +14,7 @@ fastify.get('/', async (request, reply) => {
version: '1.3.0',
os: 'Ubuntu 18.04 LTS'
}
]
] }
})
// Run the server!

View File

@ -19,10 +19,7 @@ events:
type: setState
params:
all_components:
_request: all_components.data
_log:
_request: retrieve_components
_request: all_components
layout:
contentJustify: center
@ -81,10 +78,18 @@ areas:
- id: rest_data
type: Box
type: Markdown
properties:
content:
_state: all_components
_string.concat:
- |
```yaml
- _yaml.stringify:
- _log:
_request: all_components
- |
```
- id: bottomrow
type: Box
layout: