Bug 2096359 - Internal _usePrometheusPoll hook exposed in public API
Summary: Internal _usePrometheusPoll hook exposed in public API
Status: CLOSED DUPLICATE of bug 2093047
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
Depends On:
TreeView+ depends on / blocked
Reported: 2022-06-13 15:38 UTC by Samuel Padgett
Modified: 2022-06-13 16:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-06-13 16:02:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Samuel Padgett 2022-06-13 15:38:27 UTC
We should remove the internal `_usePrometheusPoll` hook from the public API. This API was introduced in 4.11, so we can remove it before GA without making an API breaking change. Making this a high severity bug since we don't want to accidentally ship it in 4.11 GA, after which we have to deprecate before we can remove.

NOTE: We should ONLY remove the hook that starts with the underscore. `usePrometheusPoll` without an underscore is an API we want to keep.

Comment 1 Andrew Ballantyne 2022-06-13 16:02:12 UTC

*** This bug has been marked as a duplicate of bug 2093047 ***

Comment 2 Andrew Ballantyne 2022-06-13 16:02:34 UTC
I'll address this part of my PR for the other bug (2093047).

Note You need to log in before you can comment on or make changes to this bug.