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

move registry save command to sealctl #3122

Merged
merged 1 commit into from
May 24, 2023

Conversation

fengxsong
Copy link
Collaborator

@fengxsong fengxsong commented May 24, 2023

🤖 Generated by Copilot at 0bca8b7

This pull request refactors the registry commands in the pkg/registry/commands package and the sealctl and sealos command-line tools to make them more consistent and user-friendly. It simplifies the code, removes unused or redundant components, exports some functions for external use, and uses the cobra package for flag validation and error handling. It also adds a new file cmd/sealctl/cmd/registry.go to contain the registry-related commands for the sealctl tool.

Signed-off-by: fengxsong <fengxsong@outlook.com>
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (3a66249) 72.97% compared to head (78ab7d1) 72.97%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3122   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files           8        8           
  Lines         618      618           
=======================================
  Hits          451      451           
  Misses        132      132           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cuisongliu cuisongliu merged commit bf4ed66 into labring:main May 24, 2023
54 checks passed
@fengxsong fengxsong deleted the move_registry_commands branch May 26, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants