forked from Katenary/katenary
docs: remove unused variable "name"
Co-authored-by: aider (ollama_chat/gpt-oss:120b) <aider@aider.chat>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user