File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed
controller/resourcegroup/errors Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e
3+
4+ for i in $( find ./cmd ./internal ./test ./hack -name " *.go" ) ; do
5+ if ! grep -q " Apache License" " $i " ; then
6+ printf ' %s\n%s\n' " $( cat hack/boilerplate.go.txt) " " $( cat $i ) " > temp && mv temp " $i "
7+ fi
8+ done
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License"). You may
4+ // not use this file except in compliance with the License. A copy of the
5+ // License is located at
6+ //
7+ // http://aws.amazon.com/apache2.0/
8+ //
9+ // or in the "license" file accompanying this file. This file is distributed
10+ // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+ // express or implied. See the License for the specific language governing
12+ // permissions and limitations under the License.
113package errors
214
315import "fmt"
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License"). You may
4+ // not use this file except in compliance with the License. A copy of the
5+ // License is located at
6+ //
7+ // http://aws.amazon.com/apache2.0/
8+ //
9+ // or in the "license" file accompanying this file. This file is distributed
10+ // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+ // express or implied. See the License for the specific language governing
12+ // permissions and limitations under the License.
113package dynamiccontroller
214
315import (
Original file line number Diff line number Diff line change 1+ // Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License"). You may
4+ // not use this file except in compliance with the License. A copy of the
5+ // License is located at
6+ //
7+ // http://aws.amazon.com/apache2.0/
8+ //
9+ // or in the "license" file accompanying this file. This file is distributed
10+ // on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+ // express or implied. See the License for the specific language governing
12+ // permissions and limitations under the License.
113package schema
214
315import (
You can’t perform that action at this time.
0 commit comments