Skip to content

Commit

Permalink
Merge pull request #812 from banzaicloud/fix-licensei
Browse files Browse the repository at this point in the history
Fix licensei
  • Loading branch information
Laci21 authored Jan 24, 2022
2 parents d1a174a + 3963101 commit 9153a68
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .licensei.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ignoreFiles = [
]

template = """/*
Copyright 2021 Cisco Systems, Inc. and/or its affiliates.
Copyright :YEAR: Cisco Systems, Inc. and/or its affiliates.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/istiocontrolplane.pb.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 id="IstioControlPlaneSpec">IstioControlPlaneSpec</h2>
<td><code>string</code></td>
<td>
<p>Contains the intended version for the Istio control plane.
+kubebuilder:validation:Pattern=^1\.</p>
+kubebuilder:validation:Pattern=^1.</p>

</td>
<td>
Expand Down
16 changes: 16 additions & 0 deletions controllers/version_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2022 Cisco Systems, Inc. and/or its affiliates.
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 controllers_test

import (
Expand Down

0 comments on commit 9153a68

Please sign in to comment.