From 28978554a2dd2941afb29a53db8890d3f6df31fa Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Tue, 30 Jul 2024 22:49:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20fix=20license=20header=20for=20B?= =?UTF-8?q?SD=20licensed=20file=20(#4450)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With https://github.com/mondoohq/cnquery/pull/1557 we used a tool to add headers. Since the existing attribution was not detected properly by the tool, it accidentally attached the BUSL 1.1 license. This fixes the header to avoid future confusion. --- providers/os/connection/tar/path.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/providers/os/connection/tar/path.go b/providers/os/connection/tar/path.go index 60e84535a7..5e28f84ce4 100644 --- a/providers/os/connection/tar/path.go +++ b/providers/os/connection/tar/path.go @@ -1,5 +1,9 @@ -// Copyright (c) Mondoo, Inc. -// SPDX-License-Identifier: BUSL-1.1 +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// Original source: https://golang.org/src/path/path.go + +// The following code is adapted from golang but removes the cross-compile code so +// that it always behaves unix style no matter for which platform it was compiled package tar @@ -8,9 +12,6 @@ import ( "strings" ) -// the following code is adapted from golang but removes the cross-compile code so that it -// always behaves unix style no matter for which platform it was compiled - // docker images only use relative paths, we need to make them absolute here func Abs(path string) string { return join("/", path)