091421f13f
This function returned an error (if any) from [config.Path]. However, the only situation in which an error could be returned was if the given path to append to `config.Dir` was outside of the config directory. This can only happen if the path to append would try to traverse directories (e.g., passing `../../cli-plugins`). Given that we're passing a hard-coded value, that would not be the case, so we can simplify the code to join the path directly, and don't have to handle errors. [config.Path]: https://github.com/docker/cli/blob/2d74733942be353bc7730c8722ae2414f368b732/cli/config/config.go#L100-L107 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>