Skip to content

Commit

Permalink
fix assignment for variables
Browse files Browse the repository at this point in the history
  • Loading branch information
stasadev committed Feb 14, 2024
1 parent b32184a commit dc0950c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/dockerutil/dockerutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ func GetDockerVersion() (string, error) {
return "", fmt.Errorf("unable to get Docker version: %v", err)
}

DockerVersion := serverVersion.Version
DockerVersion = serverVersion.Version

return DockerVersion, nil
}
Expand All @@ -1797,7 +1797,7 @@ func GetDockerAPIVersion() (string, error) {
return "", fmt.Errorf("unable to get Docker API version: %v", err)
}

DockerAPIVersion := serverVersion.APIVersion
DockerAPIVersion = serverVersion.APIVersion

return DockerAPIVersion, nil
}
Expand Down

0 comments on commit dc0950c

Please sign in to comment.