From ff4b5a509cb207cc4ccb477850a09b788982bf2b Mon Sep 17 00:00:00 2001 From: Prajyot-Parab Date: Thu, 9 Feb 2023 23:22:11 +0530 Subject: [PATCH] fix verify-boilerplate to catch errors in CI Signed-off-by: Prajyot-Parab --- cmd/capibmadm/cmd/powervs/network/type.go | 3 +++ hack/boilerplate/boilerplate.py | 2 +- hack/boilerplate/boilerplate_test.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/capibmadm/cmd/powervs/network/type.go b/cmd/capibmadm/cmd/powervs/network/type.go index 9772cbef7..41aec45df 100644 --- a/cmd/capibmadm/cmd/powervs/network/type.go +++ b/cmd/capibmadm/cmd/powervs/network/type.go @@ -1,9 +1,12 @@ /* Copyright 2023 The Kubernetes 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. diff --git a/hack/boilerplate/boilerplate.py b/hack/boilerplate/boilerplate.py index 1af9d03ca..91c4fce85 100755 --- a/hack/boilerplate/boilerplate.py +++ b/hack/boilerplate/boilerplate.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2015 The Kubernetes Authors. # diff --git a/hack/boilerplate/boilerplate_test.py b/hack/boilerplate/boilerplate_test.py index b8d5b8e9e..49dc60c8c 100644 --- a/hack/boilerplate/boilerplate_test.py +++ b/hack/boilerplate/boilerplate_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright 2016 The Kubernetes Authors. #