From e5f9abd8ff3136f27fde9ffc9abed4195c4ac9ef Mon Sep 17 00:00:00 2001 From: Raj Date: Thu, 19 Mar 2026 14:13:15 -0700 Subject: [PATCH] make schemeFor public (#1331) --- Sources/Services/ContainerAPIService/Client/RequestScheme.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Services/ContainerAPIService/Client/RequestScheme.swift b/Sources/Services/ContainerAPIService/Client/RequestScheme.swift index b9634ae0..455e719a 100644 --- a/Sources/Services/ContainerAPIService/Client/RequestScheme.swift +++ b/Sources/Services/ContainerAPIService/Client/RequestScheme.swift @@ -40,7 +40,7 @@ public enum RequestScheme: String, Sendable { /// Returns the prescribed protocol to use while making a HTTP request to a webserver /// - Parameter host: The domain or IP address of the webserver /// - Returns: RequestScheme - package func schemeFor(host: String) throws -> Self { + public func schemeFor(host: String) throws -> Self { guard host.count > 0 else { throw ContainerizationError(.invalidArgument, message: "host cannot be empty") }