From 434a3ebfedec7c420ae8cf2c226812cc1a8b3009 Mon Sep 17 00:00:00 2001 From: HunDunDM Date: Mon, 30 Aug 2021 19:15:44 +0800 Subject: [PATCH] *: fix license Signed-off-by: HunDunDM --- server/api/version.go | 14 ++++++++++++++ server/schedule/region_scatterer_test.go | 14 ++++++++++++++ tools/pd-recover/main.go | 14 ++++++++++++++ tools/pd-simulator/simulator/config.go | 14 ++++++++++++++ tools/regions-dump/main.go | 14 ++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/server/api/version.go b/server/api/version.go index 43ebf25c916..eb6d54c040d 100644 --- a/server/api/version.go +++ b/server/api/version.go @@ -1,3 +1,17 @@ +// Copyright 2021 TiKV Project Authors. +// +// 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 +// +// http://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 api import ( diff --git a/server/schedule/region_scatterer_test.go b/server/schedule/region_scatterer_test.go index 4c5e5e7e419..a9fc762e7e3 100644 --- a/server/schedule/region_scatterer_test.go +++ b/server/schedule/region_scatterer_test.go @@ -1,3 +1,17 @@ +// Copyright 2021 TiKV Project Authors. +// +// 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 +// +// http://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 schedule import ( diff --git a/tools/pd-recover/main.go b/tools/pd-recover/main.go index 47815f06ed7..29716bb19d4 100644 --- a/tools/pd-recover/main.go +++ b/tools/pd-recover/main.go @@ -1,3 +1,17 @@ +// Copyright 2021 TiKV Project Authors. +// +// 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 +// +// http://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 main import ( diff --git a/tools/pd-simulator/simulator/config.go b/tools/pd-simulator/simulator/config.go index ecd6cc5095b..e92f740b21f 100644 --- a/tools/pd-simulator/simulator/config.go +++ b/tools/pd-simulator/simulator/config.go @@ -1,3 +1,17 @@ +// Copyright 2021 TiKV Project Authors. +// +// 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 +// +// http://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 simulator import ( diff --git a/tools/regions-dump/main.go b/tools/regions-dump/main.go index 48ed65e9dc8..704b20d9248 100644 --- a/tools/regions-dump/main.go +++ b/tools/regions-dump/main.go @@ -1,3 +1,17 @@ +// Copyright 2021 TiKV Project Authors. +// +// 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 +// +// http://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 main import (