#cannot use dir.Map

1 messages · Page 1 of 1 (latest)

feral pasture
#

Hello team.

Since I did go get -u dagger.io/dagger this morning, I couldn't compile the source code with the following message. (I had to update some of my source code as well to accommodate API changes).

# github.com/dagger/dagger/engine/filesync
vendor/github.com/dagger/dagger/engine/filesync/filesync.go:122:20: cannot use dir.Map (variable of type func(string, *types.Stat) bool) as type fsutil.MapFunc in struct literal
# github.com/moby/buildkit/session/filesync
vendor/github.com/moby/buildkit/session/filesync/filesync.go:112:20: cannot use dir.Map (variable of type func(string, *types.Stat) bool) as type fsutil.MapFunc in struct literal

Could you guys kindly suggest how to solve this issue?

soft roost
#

@halcyon hornet, any hints ? I don't know how to debug that 😇

halcyon hornet
#

should go away once we're able to get rid of that pesky replace directive (soon ™️)

soft roost
halcyon hornet
#

np i'm just glad the doc exists 😅