vendor: github.com/moby/moby/api, github.com/moby/moby/client 62884141100c
full diffs:
- 7145e7666b...6288414110
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -32,7 +32,7 @@ func ParseSecrets(ctx context.Context, apiClient client.SecretAPIClient, request
|
||||
args.Add("name", s.SecretName)
|
||||
}
|
||||
|
||||
secrets, err := apiClient.SecretList(ctx, swarm.SecretListOptions{
|
||||
secrets, err := apiClient.SecretList(ctx, client.SecretListOptions{
|
||||
Filters: args,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
@ -504,7 +504,7 @@ type secretAPIClientMock struct {
|
||||
listResult []swarm.Secret
|
||||
}
|
||||
|
||||
func (s secretAPIClientMock) SecretList(context.Context, swarm.SecretListOptions) ([]swarm.Secret, error) {
|
||||
func (s secretAPIClientMock) SecretList(context.Context, client.SecretListOptions) ([]swarm.Secret, error) {
|
||||
return s.listResult, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user