Skip to content

fix: clean up incorrect CLI log output usage#953

Open
rakshityadav1868 wants to merge 1 commit into
goharbor:mainfrom
rakshityadav1868:log-output-cleanup
Open

fix: clean up incorrect CLI log output usage#953
rakshityadav1868 wants to merge 1 commit into
goharbor:mainfrom
rakshityadav1868:log-output-cleanup

Conversation

@rakshityadav1868
Copy link
Copy Markdown

Description

This PR cleans up a few incorrect or redundant log/output usages identified during the logging audit.

The changes focus on separating user-facing CLI output from internal/debug logging and removing accidental debug artifacts from stdout.

Type of Change

Please select the relevant type.

  • Refactor
  • Chore / maintenance

Changes

  • Removed redundant debug log from project delete flow
  • Replaced user-facing log.Println(...) usage with fmt.Println(...)
  • Removed accidental debug artifact printing raw table column data
  • Removed internal replication policy state dump from stdout

Verification

  • go build ./...
  • go vet ./...

Signed-off-by: Rakshit Yadav <yadavrakshit60@gmail.com>
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.

1 participant