Skip to content

Deprecating Message method in UI interface#290

Merged
tanmay-hc merged 1 commit intomainfrom
deprecate-msg
Apr 29, 2025
Merged

Deprecating Message method in UI interface#290
tanmay-hc merged 1 commit intomainfrom
deprecate-msg

Conversation

@tanmay-hc
Copy link
Copy Markdown
Contributor

Deprecating the Message method from the cli UI interface to simplify the logs and replacing them with the Say method.

@tanmay-hc tanmay-hc requested a review from a team as a code owner April 24, 2025 08:47
Copy link
Copy Markdown
Contributor

@anshulsharma-hashicorp anshulsharma-hashicorp left a comment

Choose a reason for hiding this comment

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

LGTM

@tanmay-hc tanmay-hc merged commit d270050 into main Apr 29, 2025
9 checks passed
@tanmay-hc tanmay-hc deleted the deprecate-msg branch April 29, 2025 05:28
mkumatag added a commit to mkumatag/packer-plugin-powervs that referenced this pull request Mar 14, 2026
Replaced all occurrences of the deprecated ui.Message() API with
ui.Say() as per the Packer SDK deprecation notice.

Changes:
- builder/powervs/step_import_base_image.go: 10 replacements
- builder/powervs/step_capture_instance.go: 2 replacements
- builder/powervs/step_create_instance.go: 6 replacements
- builder/powervs/step_create_network.go: 7 replacements
- builder/powervs/common/ssh.go: 7 replacements

Total: 32 occurrences replaced

Reference: hashicorp/packer-plugin-sdk#290
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