From fd881ff72b9531254514bc7d5bfab678686b88b0 Mon Sep 17 00:00:00 2001 From: Denis Kisselev Date: Wed, 25 Mar 2020 14:55:26 -0700 Subject: [PATCH] APIM: Update License & fix build tag --- api/v1alpha1/apimgmt_types.go | 16 ++-------------- api/v1alpha1/apimgmt_types_test.go | 16 ++-------------- controllers/apimgmt_controller.go | 16 ++-------------- controllers/apimgmt_controller_test.go | 17 +++-------------- 4 files changed, 9 insertions(+), 56 deletions(-) diff --git a/api/v1alpha1/apimgmt_types.go b/api/v1alpha1/apimgmt_types.go index 976d19f5ede..c5395021632 100644 --- a/api/v1alpha1/apimgmt_types.go +++ b/api/v1alpha1/apimgmt_types.go @@ -1,17 +1,5 @@ -/* - -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. -*/ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. package v1alpha1 diff --git a/api/v1alpha1/apimgmt_types_test.go b/api/v1alpha1/apimgmt_types_test.go index 84b5408c474..99d8217691b 100644 --- a/api/v1alpha1/apimgmt_types_test.go +++ b/api/v1alpha1/apimgmt_types_test.go @@ -1,17 +1,5 @@ -/* - -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. -*/ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. package v1alpha1 diff --git a/controllers/apimgmt_controller.go b/controllers/apimgmt_controller.go index 0ca06a17222..b8c3dcc014f 100644 --- a/controllers/apimgmt_controller.go +++ b/controllers/apimgmt_controller.go @@ -1,17 +1,5 @@ -/* - -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. -*/ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. package controllers diff --git a/controllers/apimgmt_controller_test.go b/controllers/apimgmt_controller_test.go index 62d824d70f8..d9781435e1f 100644 --- a/controllers/apimgmt_controller_test.go +++ b/controllers/apimgmt_controller_test.go @@ -1,19 +1,8 @@ -/* -Copyright 2019 Microsoft. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. -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. -*/ // +build all apimgmt + package controllers import (