lmstfy icon indicating copy to clipboard operation
lmstfy copied to clipboard

latest版本报错

Open zqlpaopao opened this issue 5 months ago • 1 comments

Search before asking

  • [x] I had searched in the issues and found no similar issues.

Version

github.com/orlangure/gnomock

../vendor/github.com/orlangure/gnomock/docker.go:173:15: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:276:113: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:382:41: cannot use &stopTimeout (value of type *"time".Duration) as container.StopOptions value in argument to d.client.ContainerStop

Minimal reproduce step

github.com/orlangure/gnomock

../vendor/github.com/orlangure/gnomock/docker.go:173:15: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:276:113: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:382:41: cannot use &stopTimeout (value of type *"time".Duration) as container.StopOptions value in argument to d.client.ContainerStop

What did you expect to see?

github.com/orlangure/gnomock

../vendor/github.com/orlangure/gnomock/docker.go:173:15: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:276:113: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:382:41: cannot use &stopTimeout (value of type *"time".Duration) as container.StopOptions value in argument to d.client.ContainerStop

What did you see instead?

github.com/orlangure/gnomock

../vendor/github.com/orlangure/gnomock/docker.go:173:15: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:276:113: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:382:41: cannot use &stopTimeout (value of type *"time".Duration) as container.StopOptions value in argument to d.client.ContainerStop

Anything Else?

github.com/orlangure/gnomock

../vendor/github.com/orlangure/gnomock/docker.go:173:15: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:276:113: undefined: container.ContainerCreateCreatedBody ../vendor/github.com/orlangure/gnomock/docker.go:382:41: cannot use &stopTimeout (value of type *"time".Duration) as container.StopOptions value in argument to d.client.ContainerStop

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

zqlpaopao avatar Jul 03 '25 03:07 zqlpaopao

@zqlpaopao Could you please provide steps to reproduce this?

git-hulk avatar Jul 03 '25 03:07 git-hulk