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

Give a meaningful name to the raw disk image. #544

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

Poorna-Gottimukkula1
Copy link
Contributor

@Poorna-Gottimukkula1 Poorna-Gottimukkula1 commented Jan 12, 2024

Raised this PR to include additional changes for PR #525
CC: @clnperez

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 12, 2024
@@ -232,7 +232,7 @@ Qcow2 images location:
return err
}

rawImg := filepath.Join(ovaImgDir, ova.VolNameRaw)
rawImg := filepath.Join(ovaImgDir, fmt.Sprintf("%s-%s", opt.ImageName, ova.VolNameRaw))
Copy link
Member

Choose a reason for hiding this comment

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

Instead of using the same pattern in so many places, you can create a variable here and use it everywhere(same variable can be passed to the CreateTarArchive function as well)

Signed-off-by: Poorna Gottimukkula <Poorna.Gottimukkula1@ibm.com>
Copy link
Member

@mkumatag mkumatag left a comment

Choose a reason for hiding this comment

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

/lgtm

@ppc64le-cloud-bot ppc64le-cloud-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 17, 2024
@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mkumatag, Poorna-Gottimukkula1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ppc64le-cloud-bot ppc64le-cloud-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2024
@ppc64le-cloud-bot ppc64le-cloud-bot merged commit c65105e into ppc64le-cloud:main Jan 17, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants