mirror of https://github.com/docker/cli.git
cli/config: fix formatting of comments
Comments should have a leading space unless the comment is for special purposes (go:generate, nolint:) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
73dcf50d5a
commit
e7f720b0a6
|
@ -112,7 +112,7 @@ func Load(configDir string) (*configfile.ConfigFile, error) {
|
|||
}
|
||||
confFile := filepath.Join(homedir, oldConfigfile)
|
||||
if _, err := os.Stat(confFile); err != nil {
|
||||
return configFile, nil //missing file is not an error
|
||||
return configFile, nil // missing file is not an error
|
||||
}
|
||||
file, err := os.Open(confFile)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue