Skip to content

Commit

Permalink
ci: fix copyright check (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolouch authored Feb 17, 2025
1 parent 7742e2e commit f7ca275
Show file tree
Hide file tree
Showing 313 changed files with 313 additions and 313 deletions.
2 changes: 1 addition & 1 deletion cmd/tidb-dashboard/main.go
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

// @title Dashboard API
// @version 1.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package apiserver

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/host.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package clusterinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/hostinfo/cluster_config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package hostinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/hostinfo/cluster_hardware.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package hostinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/hostinfo/cluster_load.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package hostinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/hostinfo/hostinfo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package hostinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

// clusterinfo is a directory for ClusterInfoServer, which could load topology from pd
// using Etcd v3 interface and pd interface.
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/statistics.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package clusterinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/clusterinfo/topology.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package clusterinfo

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/configuration/editable.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package configuration

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/configuration/flatten.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package configuration

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/configuration/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package configuration

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/configuration/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package configuration

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/conprof/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package conprof

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/conprof/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

// conprof is short for continuous profiling
package conprof
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/deadlock/model.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package deadlock

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/deadlock/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package deadlock

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/deadlock/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package deadlock

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/apis.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package debugapi

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/1_main_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/models.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/models_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/payload.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/endpoint/payload_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package endpoint

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package debugapi

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/debugapi/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package debugapi

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/compare.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/diagnose.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/inspection.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/model.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/query.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/report.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/diagnose/report_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package diagnose

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/info/info.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package info

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/logsearch/models.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package logsearch

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/logsearch/pack.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package logsearch

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/logsearch/scheduler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package logsearch

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/logsearch/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package logsearch

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/logsearch/task.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package logsearch

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/metrics/prom_resolve.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package metrics

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/metrics/prom_resolve_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package metrics

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/metrics/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package metrics

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/metrics/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package metrics

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/model/common_models.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package model

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/fetcher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/model.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/pprof.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/profile.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/protobuf_to_svg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/router.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/profiling/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package profiling

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/queryeditor/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package queryeditor

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/resource_manager/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package resourcemanager

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/resource_manager/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package resourcemanager

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/slowquery/model.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package slowquery

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/slowquery/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package slowquery

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/slowquery/queries.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package slowquery

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/slowquery/service.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package slowquery

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/slowquery/statement_gen.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package slowquery

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/statement/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package statement

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/statement/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package statement

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/statement/models.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package statement

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/statement/module.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024 PingCAP, Inc. Licensed under Apache-2.0.
// Copyright 2025 PingCAP, Inc. Licensed under Apache-2.0.

package statement

Expand Down
Loading

0 comments on commit f7ca275

Please sign in to comment.