From 1c3cd1edaa2e2f0fd3c907d1ad0ed7756e263217 Mon Sep 17 00:00:00 2001 From: Ali Naqvi Date: Tue, 19 Mar 2024 19:04:55 +0800 Subject: [PATCH] fix(driver_manager): interacting with private repo --- src/placeos-core/driver_manager.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/placeos-core/driver_manager.cr b/src/placeos-core/driver_manager.cr index 20a69693..e6b7619d 100644 --- a/src/placeos-core/driver_manager.cr +++ b/src/placeos-core/driver_manager.cr @@ -28,7 +28,7 @@ module PlaceOS::Core def compile(file_name : String, url : String, commit : String, branch : String, force : Bool, username : String? = nil, password : String? = nil) : Result Log.info { {message: "Requesting build service to compile driver", driver_file: file_name, branch: branch, repository: url} } begin - resp = BuildApi.compile(file_name, url, commit, branch, force) + resp = BuildApi.compile(file_name, url, commit, branch, force, username, password) unless resp.success? Log.error { {message: resp.body, status_code: resp.status_code, driver: file_name, commit: commit, branch: branch, force: force} } return Result.new(output: resp.body, name: file_name)