forked from p15670423/monkey
UI: Remove float format from schema
There is no such format and ui throws warnings
This commit is contained in:
parent
1445bcf4ad
commit
138a065d75
|
@ -33,7 +33,6 @@ export const SCHEMA = {
|
||||||
'properties':{
|
'properties':{
|
||||||
'keep_tunnel_open_time': {
|
'keep_tunnel_open_time': {
|
||||||
'title': 'Keep tunnel open time',
|
'title': 'Keep tunnel open time',
|
||||||
'format': 'float',
|
|
||||||
'type': 'number',
|
'type': 'number',
|
||||||
'default': 30,
|
'default': 30,
|
||||||
'description': 'Time to keep tunnel open before going down after last exploit (in seconds)'
|
'description': 'Time to keep tunnel open before going down after last exploit (in seconds)'
|
||||||
|
|
|
@ -3,7 +3,6 @@ const ICMP_SCAN_CONFIGURATION_SCHEMA = {
|
||||||
'type': 'object',
|
'type': 'object',
|
||||||
'properties': {
|
'properties': {
|
||||||
'timeout': {
|
'timeout': {
|
||||||
'format': 'float',
|
|
||||||
'title': 'Ping scan timeout',
|
'title': 'Ping scan timeout',
|
||||||
'type': 'number',
|
'type': 'number',
|
||||||
'description': 'Maximum time to wait for ping response'
|
'description': 'Maximum time to wait for ping response'
|
||||||
|
|
|
@ -13,7 +13,6 @@ const TCP_SCAN_CONFIGURATION_SCHEMA = {
|
||||||
},
|
},
|
||||||
'timeout': {
|
'timeout': {
|
||||||
'title': 'TCP scan timeout',
|
'title': 'TCP scan timeout',
|
||||||
'format': 'float',
|
|
||||||
'type': 'number',
|
'type': 'number',
|
||||||
'description': 'Maximum time to wait for TCP response.'
|
'description': 'Maximum time to wait for TCP response.'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue