Skip to content

Commit 55b8888

Browse files
committed
cli/file_store: Clarify ConvertToHostname
The implementation seems to have diverged already. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1 parent 3a85952 commit 55b8888

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/config/credentials/file_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (c *fileStore) Store(authConfig types.AuthConfig) error {
104104
// stored as hostname or as hostname including scheme (in legacy configuration
105105
// files).
106106
//
107-
// It's the equivalent to [registry.ConvertToHostname] in the daemon.
107+
// It's based on [registry.ConvertToHostname] from Moby daemon.
108108
//
109109
// [registry.ConvertToHostname]: https://pkg.go.dev/github.com/moby/moby/v2@v2.0.0-beta.7/daemon/pkg/registry#ConvertToHostname
110110
func ConvertToHostname(maybeURL string) string {

0 commit comments

Comments
 (0)