mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
pkg/idtools: normalize comment formatting
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
14cad10cea
commit
a45b3a92f6
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ func resolveBinary(binname string) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
//only return no error if the final resolved binary basename
|
// only return no error if the final resolved binary basename
|
||||||
//matches what was searched for
|
// matches what was searched for
|
||||||
if filepath.Base(resolvedPath) == binname {
|
if filepath.Base(resolvedPath) == binname {
|
||||||
return resolvedPath, nil
|
return resolvedPath, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue