Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion service/resolver/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func multiCredsFuncs(ref reference.Spec, credsFuncs ...Credential) func(string)
}
}

// makeStringSlice is a helper func to convert from []interface{} to []string.
// makeStringSlice is a helper func to convert from []any to []string.
// Additionally an optional cb func may be passed to perform string mapping.
// NOTE: Ported from https://github.com/containerd/containerd/blob/v1.6.9/remotes/docker/config/hosts.go#L516-L533
func makeStringSlice(slice []any, cb func(string) string) ([]string, error) {
Expand Down
Loading