Closed fishi0x01 closed 2 years ago
A query can have multiple references to the same fragment. Currently each reference leads to an additional dependency, also when it is the same fragment.
This PR uses a set instead of a list, to ensure fragment dependencies are only added once.
Issue occurred here first: https://github.com/app-sre/qontract-reconcile/pull/2811
A query can have multiple references to the same fragment. Currently each reference leads to an additional dependency, also when it is the same fragment.
This PR uses a set instead of a list, to ensure fragment dependencies are only added once.