mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00
Merge pull request #3017 from tonistiigi/remove-debug
remove accidental debug
This commit is contained in:
commit
62f5cc7c80
@ -1,14 +1,11 @@
|
|||||||
package buildflags
|
package buildflags
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/moby/buildkit/util/entitlements"
|
"github.com/moby/buildkit/util/entitlements"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ParseEntitlements(in []string) ([]string, error) {
|
func ParseEntitlements(in []string) ([]string, error) {
|
||||||
out := make([]string, 0, len(in))
|
out := make([]string, 0, len(in))
|
||||||
log.Printf("in: %#v", in)
|
|
||||||
for _, v := range in {
|
for _, v := range in {
|
||||||
if v == "" {
|
if v == "" {
|
||||||
continue
|
continue
|
||||||
@ -19,6 +16,5 @@ func ParseEntitlements(in []string) ([]string, error) {
|
|||||||
}
|
}
|
||||||
out = append(out, v)
|
out = append(out, v)
|
||||||
}
|
}
|
||||||
log.Printf("Parsed entitlements: %v", out)
|
|
||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user