fix: Compose generator should detect duplicate service names at generate-time (#850) #1053
1 changed files with 4 additions and 0 deletions
|
|
@ -313,6 +313,10 @@ _generate_compose_impl() {
|
|||
return 0
|
||||
fi
|
||||
|
||||
# Reset duplicate detection state for fresh run
|
||||
_seen_services=()
|
||||
_service_sources=()
|
||||
|
||||
# Initialize duplicate detection with base services defined in the template
|
||||
_record_service "forgejo" "base compose template" || return 1
|
||||
_record_service "woodpecker" "base compose template" || return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue