Skip to content

Commit 7eab668

Browse files
Merge pull request #6279 from thaJeztah/deprecate_ValidateHost
opts: deprecate ValidateHost utility
2 parents ccc1c65 + d0ac0ac commit 7eab668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opts/hosts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const (
3434

3535
// ValidateHost validates that the specified string is a valid host and returns it.
3636
//
37-
// TODO(thaJeztah): ValidateHost appears to be unused; deprecate it.
37+
// Deprecated: this function is no longer used, and will be removed in the next release.
3838
func ValidateHost(val string) (string, error) {
3939
host := strings.TrimSpace(val)
4040
// The empty string means default and is not handled by parseDockerDaemonHost

0 commit comments

Comments
 (0)