Skip to content
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

lib: cockpit: remove cockpit.when() #21268

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

jelly
Copy link
Member

@jelly jelly commented Nov 14, 2024

Replace the only user of this API with the native Promise equivalent.

pkg/lib/cockpit.js Outdated Show resolved Hide resolved
@martinpitt martinpitt changed the title lib: cockpit: deprecate cockpit.when() lib: cockpit: remove cockpit.when() Nov 14, 2024
martinpitt
martinpitt previously approved these changes Nov 14, 2024
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cheers!

@martinpitt martinpitt marked this pull request as ready for review November 14, 2024 13:17
@martinpitt
Copy link
Member

@jelly sorry, this is now conflicty

Replace the only user of this API with the native Promise equivalent.

This API was never publically documented so nothing should depend on it.
@jelly
Copy link
Member Author

jelly commented Nov 15, 2024

@jelly sorry, this is now conflicty

Fixed

@martinpitt martinpitt merged commit 9e11be6 into cockpit-project:main Nov 15, 2024
79 of 85 checks passed
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.

2 participants