Skip to content

Commit 0a985c1

Browse files
author
072020127
committed
add copy right
Signed-off-by: 072020127 <haoyuanma@gmail.com>
1 parent c87769b commit 0a985c1

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed

hack/gen_bpf_specs.go

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,23 @@ func main() {
197197
}
198198

199199
// template
200-
tplText := `// Code generated by hack/gen_bpf_specs.go; DO NOT EDIT.
200+
tplText := `/*
201+
* Copyright The Kmesh Authors.
202+
*
203+
* Licensed under the Apache License, Version 2.0 (the "License");
204+
* you may not use this file except in compliance with the License.
205+
* You may obtain a copy of the License at:
206+
*
207+
* http://www.apache.org/licenses/LICENSE-2.0
208+
*
209+
* Unless required by applicable law or agreed to in writing, software
210+
* distributed under the License is distributed on an "AS IS" BASIS,
211+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
212+
* See the License for the specific language governing permissions and
213+
* limitations under the License.
214+
*/
215+
216+
// Code generated by hack/gen_bpf_specs.go; DO NOT EDIT.
201217
202218
package restart
203219

pkg/bpf/restart/persisted_mapspec_loader.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bpf/restart/persisted_mapspec_loader_enhanced.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)