mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
bumpo compose-go to v2.1.0
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
4
vendor/github.com/compose-spec/compose-go/v2/transform/secrets.go
generated
vendored
4
vendor/github.com/compose-spec/compose-go/v2/transform/secrets.go
generated
vendored
@ -22,7 +22,7 @@ import (
|
||||
"github.com/compose-spec/compose-go/v2/tree"
|
||||
)
|
||||
|
||||
func transformFileMount(data any, p tree.Path) (any, error) {
|
||||
func transformFileMount(data any, p tree.Path, _ bool) (any, error) {
|
||||
switch v := data.(type) {
|
||||
case map[string]any:
|
||||
return data, nil
|
||||
@ -35,7 +35,7 @@ func transformFileMount(data any, p tree.Path) (any, error) {
|
||||
}
|
||||
}
|
||||
|
||||
func defaultSecretMount(data any, p tree.Path) (any, error) {
|
||||
func defaultSecretMount(data any, p tree.Path, _ bool) (any, error) {
|
||||
switch v := data.(type) {
|
||||
case map[string]any:
|
||||
source := v["source"]
|
||||
|
Reference in New Issue
Block a user