diff --git a/sdl/util/util.go b/sdl/util/util.go index 4bbb5a95eb..e6a67d59d4 100644 --- a/sdl/util/util.go +++ b/sdl/util/util.go @@ -41,19 +41,3 @@ func ComputeCommittedResources(factor float64, rv atypes.ResourceValue) atypes.R return result } - -// func AllHostnamesOfManifestGroup(mgroup manifest.Group) []string { -// allHostnames := make([]string, 0) -// for _, service := range mgroup.Services { -// for _, expose := range service.Expose { -// allHostnames = append(allHostnames, expose.Hosts...) -// } -// } -// -// return allHostnames -// } - -// func IngressHost(lid mtypes.LeaseID, svcName string) string { -// uid := uuid.NewV5(uuid.NamespaceDNS, lid.String()+svcName).Bytes() -// return strings.ToLower(base32.HexEncoding.WithPadding(base32.NoPadding).EncodeToString(uid)) -// }