mirror of
https://github.com/amir20/dozzle.git
synced 2026-01-02 02:57:27 +01:00
Uses client.WithAPIVersionNegotiation
This commit is contained in:
@@ -54,7 +54,7 @@ func NewClientWithFilters(f map[string]string) Client {
|
||||
|
||||
log.Debugf("filterArgs = %v", filterArgs)
|
||||
|
||||
cli, err := client.NewClientWithOpts(client.FromEnv)
|
||||
cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user