docs: remove unused variable "name"

Co-authored-by: aider (ollama_chat/gpt-oss:120b) <aider@aider.chat>
This commit is contained in:
2025-11-30 18:56:12 -06:00
parent de1593a2a1
commit 9408813a1d

View File

@@ -228,7 +228,8 @@ func dropIngoredServices(project *types.Project) {
// makeSvcOptionalServices makes all services optional with the "svc-optional" label set to true (or yes).
func makeSvcOptionalServices(project *types.Project) {
for name, service := range project.Services {
// The service name is not needed here; we only need the service object.
for _, service := range project.Services {
if isSvcOptional(service) {
// delete(project.Services, name)
// make optional