-
Notifications
You must be signed in to change notification settings - Fork 897
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
Removed duplicate report #14515
Removed duplicate report #14515
Conversation
removed dup reports
f4b618b
to
47a5df0
Compare
Checked commit nimrodshn@47a5df0 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@miq-bot add_label providers/containers reporting |
@nimrodshn Cannot apply the following label because they are not recognized: providers/containers reporting |
and again - thanks to @kbrock for the catch! |
@nimrodshn what is the meaning of
asking since they exists only in the report the remains Also this exists only in the file you removed, not sure what it does:
|
@moolitayer I think it has something to do with who is allowed to use this report.. to be quite honest I'm not sure as I did not write this report - Although from previous discussion I had (I think with @zeari) I think it can be removed. Also note they exist in other reports (say 020_Nodes by CPU Usage.yaml). As for your'e other question the line you are pointing to is exactly the reason we are deleting that report - it turns out it was a duplicate of the one I renamed - moreover it didn't do anything but draw information from that one so I just deleted it and renamed the old one as to be consistent with other widgets I had brought in. |
AFAIK, @nimrodshn LGTM (im counting on you that none of the related widgets\reports reports fail) |
@moolitayer they look like duplicates to me. |
@kbrock I think what @moolitayer is saying is that once I delete one of the reports (either the dup or the original) users who are using it as base for custom widgets will lose their widgets since they are based on a report which exist no more. Although, renaming one of the reports is the same as removing it - So I don't see how this gets around this.. what do you think? |
@nimrodshn Do custom widgets to reference reports by name? If so, then there shouldn't be a problem. If not, then can we write a migration? |
@kbrock Custom widgets (as do "out of the box" widgets) reference reports by name. |
@nimrodshn Phew. I was concerned that I was totally off here.
Please do not rename. The original and custom widgets refer to a report by name. |
@kbrock @nimrodshn sorry for holding this back. Just to be sure
|
I mean @kbrock if I take you're route I need to change the OOTB widgets ('Pods per Ready' chart/widget) to point to the duplicate.. are you okay with this? |
Oh so |
@moolitayer Precisely! |
Due to #14494 I have removed the the duplicate report and renamed the old one for consistency with widgets.
cc @kbrock @simon3z @moolitayer