Skip to content

Conversation

javuto
Copy link
Collaborator

@javuto javuto commented Aug 8, 2025

Bump to dependencies and changes to how osctrl-cli uses the module tablewriter due to API changes.

@javuto javuto requested a review from Copilot August 8, 2025 20:11
@javuto javuto added osctrl-cli osctrl-cli related changes dependencies Dependencies related issues labels Aug 8, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates dependencies and adapts code to handle breaking changes in the tablewriter library API. The tablewriter library changed from v0.0.5 to v1.0.9, introducing new method signatures that require different parameter types and method names.

  • Major dependency version bumps across AWS SDK, Elasticsearch, Prometheus, and other libraries
  • Migration from SetHeader() to Header() method with variadic parameters
  • Migration from AppendBulk() to Bulk() method for table data

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 6 comments.

File Description
go.mod Updates all dependency versions including tablewriter v1.0.9
cmd/cli/*.go Adapts tablewriter API calls to new method signatures in CLI commands

javuto and others added 2 commits August 8, 2025 22:46
Reduce code duplication with a helper function

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@javuto javuto merged commit 6c99f16 into main Aug 8, 2025
54 checks passed
@javuto javuto deleted the dependencies-update-16 branch August 8, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependencies related issues osctrl-cli osctrl-cli related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant