Skip to content

Commit

Permalink
Comment on should raise an exception when failed to create timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed Aug 20, 2024
1 parent c35fc4d commit f73ab61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model_repository_manager/model_repository_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ GetPathModifiedTime(const std::string& path)
ModelTimestamp::ModelTimestamp(
const std::string& model_dir_path, const std::string& model_config_path)
{
// DLIS-7221: Raise an exception when failed to create timestamp
bool init_success =
ModelDirectoryPathIsValid(model_dir_path) &&
ReadModelDirectoryTimestamp(model_dir_path, model_config_path) &&
Expand Down

0 comments on commit f73ab61

Please sign in to comment.