-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defenders are listed in duplicate when using defenders list #83
Comments
Also The duplication appears to be happening during the |
The following edit produces the appropriate output (singular). This essentially bypasses the whole flatten function, but I fear this would cause issues with other outputs.
|
There is much room for improvement within the flatten function. Will keep it open for now and look for a permanent improvement for this. |
@steven-deboer, I open a pull request on this. Can you review it ? |
@dukekautington3rd This PR has been merged and it fixed the issue for me. Take a look and we can close this issue if it is solved. |
Describe the bug
pc defenders list
produces duplicate output of each defenderExpected behavior
I would expect to see a single entry for each defender.
Current behavior
When using
pc defenders list
and any output format, each defender is listed double.Possible solution
Discover why this duplicate output happens.
During debug I noticed that the data stored from the api call, is singular and doesn't seem to become duplicate until formatting or output occurs.
Steps to reproduce
pc defenders list
Screenshots
Output from command showing double:
Debug showing single data store:
Context
None needed
Your Environment
The text was updated successfully, but these errors were encountered: