Skip to content

Conversation

idsulik
Copy link
Contributor

@idsulik idsulik commented Apr 5, 2025

Prevents a panic by adding type checks to ensure both base and override IPAM configs are lists. Returns a clear error if the input types are invalid.

Fixes: docker/compose#12709

Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
@idsulik
Copy link
Contributor Author

idsulik commented Apr 22, 2025

@ndeloof hi! I see the issue was closed, but I think it'll be better to fix the panic itself as well

@ndeloof
Copy link
Collaborator

ndeloof commented Apr 22, 2025

@idsulik #767 was merged with a comparable fix, sorry I didn't noticed you already had one ready for this bug

@ndeloof ndeloof closed this Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] panic: interface conversion: interface {} is map[string]interface {}, not []interface {}
2 participants