diff --git a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux-gpu/error index ccb6ca8a7a..a7483552d1 100644 --- a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux-gpu/error @@ -1,6 +1 @@ -[16:37] cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool - 13 | # limitations under the License. - 14 | - 15 | global: -> 16 | default_self_log_file_collection: None - ^ +cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux/error b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux/error index ccb6ca8a7a..a7483552d1 100644 --- a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/linux/error @@ -1,6 +1 @@ -[16:37] cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool - 13 | # limitations under the License. - 14 | - 15 | global: -> 16 | default_self_log_file_collection: None - ^ +cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows-2012/error index ccb6ca8a7a..a7483552d1 100644 --- a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows-2012/error @@ -1,6 +1 @@ -[16:37] cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool - 13 | # limitations under the License. - 14 | - 15 | global: -> 16 | default_self_log_file_collection: None - ^ +cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows/error b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows/error index ccb6ca8a7a..a7483552d1 100644 --- a/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-global-service_default_self_log_file_collection/golden/windows/error @@ -1,6 +1 @@ -[16:37] cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool - 13 | # limitations under the License. - 14 | - 15 | global: -> 16 | default_self_log_file_collection: None - ^ +cannot unmarshal string into Go struct field UnifiedConfig.Global of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux-gpu/error index 3908ea6cb7..43e58b0591 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux-gpu/error @@ -1,9 +1 @@ -[21:29] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | record_log_file_path: None - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux/error index 3908ea6cb7..43e58b0591 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/linux/error @@ -1,9 +1 @@ -[21:29] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | record_log_file_path: None - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows-2012/error index 3908ea6cb7..43e58b0591 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows-2012/error @@ -1,9 +1 @@ -[21:29] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | record_log_file_path: None - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows/error index 3908ea6cb7..43e58b0591 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_log_file_path_invalid_value/golden/windows/error @@ -1,9 +1 @@ -[21:29] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | record_log_file_path: None - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type bool \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux-gpu/error index e65593e769..8de59dec81 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux-gpu/error @@ -1,9 +1 @@ -[21:34] cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | wildcard_refresh_interval: 30 - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux/error index e65593e769..8de59dec81 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/linux/error @@ -1,9 +1 @@ -[21:34] cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | wildcard_refresh_interval: 30 - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows-2012/error index e65593e769..8de59dec81 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows-2012/error @@ -1,9 +1 @@ -[21:34] cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | wildcard_refresh_interval: 30 - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows/error b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows/error index e65593e769..8de59dec81 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_files_refresh_interval_invalid_duration/golden/windows/error @@ -1,9 +1 @@ -[21:34] cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration - 18 | type: files - 19 | include_paths: - 20 | - /path/to/log/1/* -> 21 | wildcard_refresh_interval: 30 - ^ - 22 | service: - 23 | pipelines: - 24 | pipeline1: \ No newline at end of file +cannot unmarshal uint64 into Go struct field UnifiedConfig.Logging of type time.Duration \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error index 06f7012e30..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | fluent_logs: - 18 | type: fluent_forward - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | service: - 22 | pipelines: - 23 | fluent_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error index 06f7012e30..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | fluent_logs: - 18 | type: fluent_forward - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | service: - 22 | pipelines: - 23 | fluent_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error index 06f7012e30..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | fluent_logs: - 18 | type: fluent_forward - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | service: - 22 | pipelines: - 23 | fluent_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error index 06f7012e30..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_forward_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | fluent_logs: - 18 | type: fluent_forward - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | service: - 22 | pipelines: - 23 | fluent_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error index f1f91a9e8e..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | receiver_1: - 18 | type: syslog - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | transport_protocol: tcp - 22 | service: - 23 | pipelines: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error index f1f91a9e8e..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | receiver_1: - 18 | type: syslog - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | transport_protocol: tcp - 22 | service: - 23 | pipelines: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error index f1f91a9e8e..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | receiver_1: - 18 | type: syslog - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | transport_protocol: tcp - 22 | service: - 23 | pipelines: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error index f1f91a9e8e..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_syslog_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error @@ -1,9 +1 @@ -[20:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 17 | receiver_1: - 18 | type: syslog - 19 | listen_host: "1.1.1.1" -> 20 | listen_port: abc - ^ - 21 | transport_protocol: tcp - 22 | service: - 23 | pipelines: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error index 2b36d7b865..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux-gpu/error @@ -1,9 +1 @@ -[21:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 18 | type: tcp - 19 | format: json - 20 | listen_host: "1.1.1.1" -> 21 | listen_port: abc - ^ - 22 | service: - 23 | pipelines: - 24 | tcp_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error index 2b36d7b865..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/linux/error @@ -1,9 +1 @@ -[21:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 18 | type: tcp - 19 | format: json - 20 | listen_host: "1.1.1.1" -> 21 | listen_port: abc - ^ - 22 | service: - 23 | pipelines: - 24 | tcp_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error index 2b36d7b865..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows-2012/error @@ -1,9 +1 @@ -[21:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 18 | type: tcp - 19 | format: json - 20 | listen_host: "1.1.1.1" -> 21 | listen_port: abc - ^ - 22 | service: - 23 | pipelines: - 24 | tcp_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error index 2b36d7b865..47f8f65081 100644 --- a/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error +++ b/confgenerator/testdata/goldens/invalid-logging-receiver_tcp_type_invalid_parameter_listen_port_is_not_an_int/golden/windows/error @@ -1,9 +1 @@ -[21:20] cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 - 18 | type: tcp - 19 | format: json - 20 | listen_host: "1.1.1.1" -> 21 | listen_port: abc - ^ - 22 | service: - 23 | pipelines: - 24 | tcp_pipeline: \ No newline at end of file +cannot unmarshal string into Go struct field UnifiedConfig.Logging of type uint16 \ No newline at end of file diff --git a/go.mod b/go.mod index b072082805..15510b2fef 100644 --- a/go.mod +++ b/go.mod @@ -12,8 +12,8 @@ require ( github.com/binxio/gcloudconfig v0.1.5 github.com/blang/semver v3.5.1+incompatible github.com/cenkalti/backoff/v4 v4.3.0 - github.com/go-playground/validator/v10 v10.11.1 - github.com/goccy/go-yaml v1.11.2 + github.com/go-playground/validator/v10 v10.22.1 + github.com/goccy/go-yaml v1.13.1 github.com/google/go-cmp v0.6.0 github.com/google/uuid v1.6.0 github.com/googleapis/gax-go/v2 v2.13.0 @@ -32,8 +32,8 @@ require ( go.uber.org/multierr v1.11.0 go.uber.org/zap v1.24.0 golang.org/x/exp v0.0.0-20240119083558-1b970713d09a - golang.org/x/sys v0.26.0 - golang.org/x/text v0.17.0 + golang.org/x/sys v0.27.0 + golang.org/x/text v0.19.0 google.golang.org/api v0.195.0 google.golang.org/genproto v0.0.0-20240827150818-7e3bb234dfed // indirect google.golang.org/grpc v1.66.0 @@ -81,9 +81,10 @@ require ( github.com/emicklei/go-restful/v3 v3.11.0 // indirect github.com/envoyproxy/go-control-plane v0.12.1-0.20240621013728-1eb8caab5155 // indirect github.com/envoyproxy/protoc-gen-validate v1.0.4 // indirect - github.com/fatih/color v1.16.0 // indirect + github.com/fatih/color v1.18.0 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect + github.com/gabriel-vasile/mimetype v1.4.3 // indirect github.com/go-kit/log v0.2.1 // indirect github.com/go-logfmt/logfmt v0.6.0 // indirect github.com/go-logr/logr v1.4.2 // indirect @@ -92,8 +93,8 @@ require ( github.com/go-openapi/jsonpointer v0.20.2 // indirect github.com/go-openapi/jsonreference v0.20.4 // indirect github.com/go-openapi/swag v0.22.9 // indirect - github.com/go-playground/locales v0.14.0 // indirect - github.com/go-playground/universal-translator v0.18.0 // indirect + github.com/go-playground/locales v0.14.1 // indirect + github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-resty/resty/v2 v2.13.1 // indirect github.com/go-zookeeper/zk v1.0.3 // indirect github.com/gogo/protobuf v1.3.2 // indirect @@ -128,7 +129,7 @@ require ( github.com/json-iterator/go v1.1.12 // indirect github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b // indirect github.com/kylelemons/godebug v1.1.0 // indirect - github.com/leodido/go-urn v1.2.1 // indirect + github.com/leodido/go-urn v1.4.0 // indirect github.com/linode/linodego v1.37.0 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect @@ -161,11 +162,11 @@ require ( go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect go.opentelemetry.io/otel/trace v1.31.0 // indirect go.uber.org/atomic v1.11.0 // indirect - golang.org/x/crypto v0.26.0 // indirect + golang.org/x/crypto v0.28.0 // indirect golang.org/x/mod v0.19.0 // indirect - golang.org/x/net v0.28.0 // indirect + golang.org/x/net v0.30.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect - golang.org/x/term v0.23.0 // indirect + golang.org/x/term v0.25.0 // indirect golang.org/x/time v0.6.0 // indirect golang.org/x/tools v0.23.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect diff --git a/go.sum b/go.sum index b759dbabd3..6c24f31c4e 100644 --- a/go.sum +++ b/go.sum @@ -163,10 +163,14 @@ github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= +github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM= +github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU= github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= +github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0= +github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -197,10 +201,16 @@ github.com/go-playground/assert/v2 v2.0.1 h1:MsBgLAaY856+nPRTKrp3/OZK38U/wa0CcBY github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.0 h1:u50s323jtVGugKlcYeyzC0etD1HifMjqmJqb8WugfUU= github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= +github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= +github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY= github.com/go-playground/universal-translator v0.18.0 h1:82dyy6p4OuJq4/CByFNOn/jYrnRPArHwAcmLoJZxyho= github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= +github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY= +github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.11.1 h1:prmOlTVv+YjZjmRmNSF3VmspqJIxJWXmqUsHwfTRRkQ= github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU= +github.com/go-playground/validator/v10 v10.22.1 h1:40JcKH+bBNGFczGuoBYgX4I6m/i27HYW8P9FDk5PbgA= +github.com/go-playground/validator/v10 v10.22.1/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= github.com/go-resty/resty/v2 v2.13.1 h1:x+LHXBI2nMB1vqndymf26quycC4aggYJ7DECYbiz03g= github.com/go-resty/resty/v2 v2.13.1/go.mod h1:GznXlLxkq6Nh4sU59rPmUw3VtgpO3aS96ORAI6Q7d+0= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= @@ -210,6 +220,8 @@ github.com/go-zookeeper/zk v1.0.3 h1:7M2kwOsc//9VeeFiPtf+uSJlVpU66x9Ba5+8XK7/TDg github.com/go-zookeeper/zk v1.0.3/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw= github.com/goccy/go-yaml v1.11.2 h1:joq77SxuyIs9zzxEjgyLBugMQ9NEgTWxXfz2wVqwAaQ= github.com/goccy/go-yaml v1.11.2/go.mod h1:wKnAMd44+9JAAnGQpWVEgBzGt3YuTaQ4uXoHvE4m7WU= +github.com/goccy/go-yaml v1.13.1 h1:xZqDO9euwefeRx5am/ca9DPSCbV3fMNPkrl+Tivmz8A= +github.com/goccy/go-yaml v1.13.1/go.mod h1:IjYwxUiJDoqpx2RmbdjMUceGHZwYLon3sfOGl5Hi9lc= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= @@ -406,6 +418,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0 github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/leodido/go-urn v1.2.1 h1:BqpAaACuzVSgi/VLzGZIobT2z4v53pjosyNd9Yv6n/w= github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY= +github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= +github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= github.com/linode/linodego v1.37.0 h1:B/2Spzv9jYXzKA+p+GD8fVCNJ7Wuw6P91ZDD9eCkkso= github.com/linode/linodego v1.37.0/go.mod h1:L7GXKFD3PoN2xSEtFc04wIXP5WK65O10jYQx0PQISWQ= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= @@ -622,6 +636,8 @@ golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDf golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -700,6 +716,8 @@ golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= +golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4= +golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -788,6 +806,8 @@ golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= +golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= @@ -796,6 +816,8 @@ golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= +golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= +golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -809,6 +831,8 @@ golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM= +golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=