Skip to content

Conversation

@duckhawk
Copy link
Member

@duckhawk duckhawk commented Jan 23, 2026

Fix in data export creation

@duckhawk duckhawk changed the title [data-export] fix cli for data export creation fix: cli for data export creation Jan 23, 2026
@duckhawk duckhawk marked this pull request as ready for review January 23, 2026 13:14
@duckhawk duckhawk requested a review from ldmonster as a code owner January 23, 2026 13:14
@ldmonster ldmonster requested a review from Copilot January 27, 2026 07:11
@ldmonster ldmonster merged commit 54b730a into main Jan 27, 2026
8 checks passed
Copy link
Contributor

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

This PR fixes the default namespace value for data export and import CLI commands by centralizing it in a constant and correcting the value from "d8-data-exporter" to "d8-storage-volume-data-manager".

Changes:

  • Adds a Namespace constant to internal/data/common.go with the correct value "d8-storage-volume-data-manager"
  • Updates all data export and import commands to use the centralized constant instead of hardcoded namespace strings
  • Adds necessary imports for the dataio package across affected files

Reviewed changes

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

Show a summary per file
File Description
internal/data/common.go Adds the Namespace constant with the correct namespace value
internal/data/cmd/data.go Updates deprecated commands to use dataio.Namespace constant and adds import
internal/data/dataexport/cmd/create/create.go Replaces hardcoded namespace with dataio.Namespace constant
internal/data/dataexport/cmd/delete/delete.go Adds dataio import and uses Namespace constant
internal/data/dataexport/cmd/download/download.go Replaces hardcoded namespace with dataio.Namespace constant
internal/data/dataexport/cmd/list/list.go Replaces hardcoded namespace with dataio.Namespace constant
internal/data/dataimport/cmd/create/create.go Adds dataio import and uses Namespace constant
internal/data/dataimport/cmd/upload/upload.go Replaces hardcoded namespace with dataio.Namespace constant
internal/data/dataimport/cmd/upload/upload_windows.go Replaces hardcoded namespace with dataio.Namespace constant

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants