From 4e8edc08f6d77c0cc872d3adf52daee6fe4af1f1 Mon Sep 17 00:00:00 2001 From: Afsal Thaj Date: Mon, 1 Jul 2024 23:07:31 +1000 Subject: [PATCH] Make sure the tests pass --- golem-worker-service-base/src/http/http_request.rs | 2 +- golem-worker-service-base/src/service/worker/default.rs | 4 ++-- golem-worker-service-base/src/worker_bridge_execution/mod.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/golem-worker-service-base/src/http/http_request.rs b/golem-worker-service-base/src/http/http_request.rs index fa0d292be2..e3ecbd0f1b 100644 --- a/golem-worker-service-base/src/http/http_request.rs +++ b/golem-worker-service-base/src/http/http_request.rs @@ -178,7 +178,7 @@ mod tests { ), ( "function_name".to_string(), - TypeAnnotatedValue::Str(worker_request.function.to_string()), + TypeAnnotatedValue::Str(worker_request.function.fqn.to_string()), ), ( "function_params".to_string(), diff --git a/golem-worker-service-base/src/service/worker/default.rs b/golem-worker-service-base/src/service/worker/default.rs index 81b6da70b7..d6fac02041 100644 --- a/golem-worker-service-base/src/service/worker/default.rs +++ b/golem-worker-service-base/src/service/worker/default.rs @@ -28,8 +28,8 @@ use golem_common::model::{ ScanCursor, Timestamp, WorkerFilter, WorkerStatus, }; use golem_service_base::model::{ - FunctionParameter, FunctionResult, GolemErrorUnknown, - PromiseId, ResourceLimits, WorkerId, WorkerMetadata, + FunctionParameter, FunctionResult, GolemErrorUnknown, PromiseId, ResourceLimits, WorkerId, + WorkerMetadata, }; use golem_service_base::typechecker::{TypeCheckIn, TypeCheckOut}; use golem_service_base::{ diff --git a/golem-worker-service-base/src/worker_bridge_execution/mod.rs b/golem-worker-service-base/src/worker_bridge_execution/mod.rs index 47d6a8bbba..402f05df30 100644 --- a/golem-worker-service-base/src/worker_bridge_execution/mod.rs +++ b/golem-worker-service-base/src/worker_bridge_execution/mod.rs @@ -7,7 +7,7 @@ mod refined_worker_response; pub mod to_response; mod worker_request_executor; -use crate::evaluator::{Function}; +use crate::evaluator::Function; pub use refined_worker_response::*; pub use worker_request_executor::*;