Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Jan 18, 2025
1 parent f76f9d8 commit 5377977
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/wrench/services/compute/cloud/CloudComputeService.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ namespace wrench {
/***********************/

void submitCompoundJob(std::shared_ptr<CompoundJob> job,
const std::map<std::string, std::string> &service_specific_args) override{};
const std::map<std::string, std::string> &service_specific_args) override;

void terminateCompoundJob(std::shared_ptr<CompoundJob> job) override{};
void terminateCompoundJob(std::shared_ptr<CompoundJob> job) override;

void validateProperties();

Expand Down
20 changes: 20 additions & 0 deletions src/wrench/services/compute/cloud/CloudComputeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1178,4 +1178,24 @@ namespace wrench {
return false;
}

/**
* @brief Method to submit a compound job to the service
*
* @param job: The job being submitted
* @param service_specific_args: the set of service-specific arguments
*/
void CloudComputeService::submitCompoundJob(std::shared_ptr<CompoundJob> job,
const std::map<std::string, std::string> &service_specific_args) {
throw std::runtime_error("CloudComputeService::submitCompoundJob: should not be called");
}

/**
* @brief Method to terminate a compound job at the service
*
* @param job: The job being submitted
*/
void CloudComputeService::terminateCompoundJob(std::shared_ptr<CompoundJob> job) {
throw std::runtime_error("CloudComputeService::terminateCompoundJob: should not be called");
}

}// namespace wrench

0 comments on commit 5377977

Please sign in to comment.