mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 04:35:40 +00:00
fix: allow docker api negotiation
This commit is contained in:
@@ -29,8 +29,13 @@ func (docker *Docker) Init() error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Set the context and api client
|
||||
// Create the context
|
||||
docker.Context = context.Background()
|
||||
|
||||
// Negotiate API version
|
||||
client.NegotiateAPIVersion(docker.Context)
|
||||
|
||||
// Set client
|
||||
docker.Client = client
|
||||
|
||||
// Done
|
||||
|
||||
Reference in New Issue
Block a user