From 6dfa2c85bef77a800140b16a79955dbb0e44cbd1 Mon Sep 17 00:00:00 2001 From: Kosuke Morimoto Date: Tue, 12 Dec 2023 20:54:38 +0900 Subject: [PATCH] make format Signed-off-by: Kosuke Morimoto --- internal/observability/metrics/mem/index/index.go | 4 +++- internal/observability/metrics/mem/index/index_test.go | 4 +++- internal/observability/metrics/mem/malloc/malloc.go | 6 ++++-- internal/observability/metrics/mem/malloc/malloc_test.go | 4 +++- internal/observability/metrics/mem/proc/status.go | 6 ++++-- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/internal/observability/metrics/mem/index/index.go b/internal/observability/metrics/mem/index/index.go index b6d637f8218..4c9906a71a4 100644 --- a/internal/observability/metrics/mem/index/index.go +++ b/internal/observability/metrics/mem/index/index.go @@ -1,16 +1,18 @@ +// // Copyright (C) 2019-2023 vdaas.org vald team // // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// package index import ( diff --git a/internal/observability/metrics/mem/index/index_test.go b/internal/observability/metrics/mem/index/index_test.go index 5f514693b17..e216f4de740 100644 --- a/internal/observability/metrics/mem/index/index_test.go +++ b/internal/observability/metrics/mem/index/index_test.go @@ -1,16 +1,18 @@ +// // Copyright (C) 2019-2023 vdaas.org vald team // // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// package index // NOT IMPLEMENTED BELOW diff --git a/internal/observability/metrics/mem/malloc/malloc.go b/internal/observability/metrics/mem/malloc/malloc.go index 4b26dfc48dc..7a41585ac4e 100644 --- a/internal/observability/metrics/mem/malloc/malloc.go +++ b/internal/observability/metrics/mem/malloc/malloc.go @@ -1,16 +1,18 @@ +// // Copyright (C) 2019-2023 vdaas.org vald team // // Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. +// You may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// package malloc import ( diff --git a/internal/observability/metrics/mem/malloc/malloc_test.go b/internal/observability/metrics/mem/malloc/malloc_test.go index c71e1540db0..db8d8ba1efa 100644 --- a/internal/observability/metrics/mem/malloc/malloc_test.go +++ b/internal/observability/metrics/mem/malloc/malloc_test.go @@ -1,16 +1,18 @@ +// // Copyright (C) 2019-2023 vdaas.org vald team // // Licensed under the Apache License, Version 2.0 (the "License"); // You may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// package malloc // NOT IMPLEMENTED BELOW diff --git a/internal/observability/metrics/mem/proc/status.go b/internal/observability/metrics/mem/proc/status.go index d402c6732f7..75d6106d1e5 100644 --- a/internal/observability/metrics/mem/proc/status.go +++ b/internal/observability/metrics/mem/proc/status.go @@ -1,16 +1,18 @@ +// // Copyright (C) 2019-2023 vdaas.org vald team // // Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. +// You may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// package proc import (