refactor: 💡 Refactor default values for target creation (#1180)
This commit is contained in:
1 parent
b54e68cb86
commit
163bbc9fb8
2 files changed
+2
-3
No files matched your search
@@ -30,7 +30,6 @@ export default class GeneratedTargetModel extends BaseModel {
|
||||
|
||||
@attr('number', {
|
||||
description: '',
|
||||
defaultValue: 1,
|
||||
})
|
||||
session_connection_limit;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ module('Unit | Serializer | target', function (hooks) {
|
||||
type: 'tcp',
|
||||
scope_id: 'org_1',
|
||||
session_max_seconds: 28800,
|
||||
session_connection_limit: 1,
|
||||
session_connection_limit: null,
|
||||
worker_filter: null,
|
||||
attributes: {
|
||||
default_port: 1234,
|
||||
@@ -111,7 +111,7 @@ module('Unit | Serializer | target', function (hooks) {
|
||||
type: 'ssh',
|
||||
scope_id: 'org_1',
|
||||
session_max_seconds: 28800,
|
||||
session_connection_limit: 1,
|
||||
session_connection_limit: null,
|
||||
worker_filter: 'worker',
|
||||
attributes: {
|
||||
default_port: 1234,
|
||||
|
||||
Reference in new issue
Block a user