@@ -3,7 +3,6 @@ package system
33import (
44 "context"
55
6- "github.com/moby/moby/api/types"
76 "github.com/moby/moby/api/types/container"
87 "github.com/moby/moby/api/types/events"
98 "github.com/moby/moby/client"
@@ -21,7 +20,7 @@ type fakeClient struct {
2120 networkListFunc func (ctx context.Context , options client.NetworkListOptions ) (client.NetworkListResult , error )
2221 networkPruneFunc func (ctx context.Context , options client.NetworkPruneOptions ) (client.NetworkPruneResult , error )
2322 nodeListFunc func (ctx context.Context , options client.NodeListOptions ) (client.NodeListResult , error )
24- serverVersion func (ctx context.Context ) (types. Version , error )
23+ serverVersion func (ctx context.Context , options client. ServerVersionOptions ) (client. ServerVersionResult , error )
2524 volumeListFunc func (ctx context.Context , options client.VolumeListOptions ) (client.VolumeListResult , error )
2625}
2726
@@ -89,8 +88,8 @@ func (cli *fakeClient) NodeList(ctx context.Context, options client.NodeListOpti
8988 return client.NodeListResult {}, nil
9089}
9190
92- func (cli * fakeClient ) ServerVersion (ctx context.Context ) (types. Version , error ) {
93- return cli .serverVersion (ctx )
91+ func (cli * fakeClient ) ServerVersion (ctx context.Context , options client. ServerVersionOptions ) (client. ServerVersionResult , error ) {
92+ return cli .serverVersion (ctx , options )
9493}
9594
9695func (cli * fakeClient ) VolumeList (ctx context.Context , options client.VolumeListOptions ) (client.VolumeListResult , error ) {
0 commit comments