From bf9d51cf14ce01d7fcb24447e5318e044b1736d2 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 12 Apr 2020 13:55:22 -0700 Subject: [PATCH] fix: add missing copyright headers in some files (#9321) --- cmd/config/notify/legacy.go | 16 ++++++++++++++++ pkg/disk/root-disk-unix.go | 17 +++++++++++++++++ pkg/disk/root-disk-windows.go | 17 +++++++++++++++++ pkg/env/env.go | 17 +++++++++++++++++ pkg/madmin/obd_freebsd.go | 17 +++++++++++++++++ 5 files changed, 84 insertions(+) diff --git a/cmd/config/notify/legacy.go b/cmd/config/notify/legacy.go index bd39a9fff..30f15059f 100644 --- a/cmd/config/notify/legacy.go +++ b/cmd/config/notify/legacy.go @@ -1,3 +1,19 @@ +/* + * MinIO Cloud Storage, (C) 2019 MinIO, Inc. + * + * 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 notify import ( diff --git a/pkg/disk/root-disk-unix.go b/pkg/disk/root-disk-unix.go index be51f0df7..4a1025fe6 100644 --- a/pkg/disk/root-disk-unix.go +++ b/pkg/disk/root-disk-unix.go @@ -1,5 +1,22 @@ // +build !windows +/* + * MinIO Cloud Storage, (C) 2019 MinIO, Inc. + * + * 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 disk import ( diff --git a/pkg/disk/root-disk-windows.go b/pkg/disk/root-disk-windows.go index b19034f3b..3cf4dce2c 100644 --- a/pkg/disk/root-disk-windows.go +++ b/pkg/disk/root-disk-windows.go @@ -1,5 +1,22 @@ // +build windows +/* + * MinIO Cloud Storage, (C) 2019 MinIO, Inc. + * + * 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 disk // IsRootDisk returns if diskPath belongs to root-disk, i.e the disk mounted at "/" diff --git a/pkg/env/env.go b/pkg/env/env.go index 6d62d5910..bdc406ebf 100644 --- a/pkg/env/env.go +++ b/pkg/env/env.go @@ -1,3 +1,20 @@ +/* + * MinIO Cloud Storage, (C) 2019-2020 MinIO, Inc. + * + * 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 env import ( diff --git a/pkg/madmin/obd_freebsd.go b/pkg/madmin/obd_freebsd.go index 5d90d19e0..4894a54db 100644 --- a/pkg/madmin/obd_freebsd.go +++ b/pkg/madmin/obd_freebsd.go @@ -1,3 +1,20 @@ +/* + * MinIO Cloud Storage, (C) 2020 MinIO, Inc. + * + * 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 madmin // ServerDiskHwOBDInfo - Includes usage counters, disk counters and partitions