Skip to content

Commit

Permalink
Merge pull request kube-arbiter#25 from 0xff-dev/main
Browse files Browse the repository at this point in the history
fix: the metrics_type.go  should not add copyright
  • Loading branch information
nkwangleiGIT authored Oct 28, 2022
2 parents 142f14c + f60bc88 commit ea82b83
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def file_extension(filename):

skipped_dirs = ['third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"vendor", "test/e2e/generated/bindata.go", "hack/boilerplate/test",
"staging/src/k8s.io/kubectl/pkg/generated/bindata.go","pkg/proto/lib"]
"staging/src/k8s.io/kubectl/pkg/generated/bindata.go","pkg/proto/lib","observer-plugins/metric-server/server/metric_types.go"]

# list all the files contain 'DO NOT EDIT', but are not generated
skipped_ungenerated_files = [
Expand Down
2 changes: 1 addition & 1 deletion hack/lib/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare -A CODE_MAIN_PATH=(
declare -A DOCKERFILE_PATH=(
["observer-metric-server"]="observer-plugins/metric-server/Dockerfile"
["observer-prometheus-server"]="observer-plugins/prometheus/Dockerfile"
["executor-resource-tagger"]="executor-plugins/defaulg-plugins/Dockerfile"
["executor-resource-tagger"]="executor-plugins/default-plugins/Dockerfile"
)

source "${ROOT_PATH}/hack/lib/util.sh"
Expand Down
16 changes: 0 additions & 16 deletions observer-plugins/metric-server/server/metric_types.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/*
Copyright 2022 The Arbiter 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.
*/

/*
Copyright 2017 The Kubernetes Authors.
Expand Down

0 comments on commit ea82b83

Please sign in to comment.