Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@vansangpfiev
Copy link
Contributor

Describe Your Changes

This pull request includes a change to the ModelService::DeleteModel method in engine/services/model_service.cc to improve the deletion process of YAML files associated with a model. The most important change is the modification of the code to remove all YAML files in the directory instead of just a single file.

Improvements to file deletion:

  • engine/services/model_service.cc: Updated the ModelService::DeleteModel method to iterate over the directory and remove all files with a .yml extension, ensuring that all relevant YAML files are deleted.

Fixes Issues

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@vansangpfiev vansangpfiev self-assigned this Feb 18, 2025
@vansangpfiev vansangpfiev force-pushed the s/fix/rm-model branch 3 times, most recently from a4258e8 to 5677eb0 Compare February 18, 2025 08:10
@vansangpfiev vansangpfiev merged commit bb6d60b into dev Feb 18, 2025
8 checks passed
@vansangpfiev vansangpfiev deleted the s/fix/rm-model branch February 18, 2025 08:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants