Skip to content

Commit

Permalink
Fix rebase args variable name
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Necas <[email protected]>
  • Loading branch information
mnecas committed Sep 9, 2024
1 parent 3840190 commit 0f5ab69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion virt-v2v/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ go_library(
"customize-rhel.go",
"embed-tool.go",
"entrypoint.go",
"xml-reader.go",
"yaml-reader.go",
],
embedsrcs = [
"scripts/windows/9999-restore_config.ps1",
Expand Down
2 changes: 1 addition & 1 deletion virt-v2v/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func virtV2vVsphereArgs() (args []string, err error) {
// When converting VM with name that do not meet DNS1123 RFC requirements,
// it should be changed to supported one to ensure the conversion does not fail.
if checkEnvVariablesSet("V2V_NewName") {
virtV2vArgs = append(virtV2vArgs, "-on", os.Getenv("V2V_NewName"))
args = append(args, "-on", os.Getenv("V2V_NewName"))
nameChanged = true

Check warning on line 200 in virt-v2v/entrypoint.go

View check run for this annotation

Codecov / codecov/patch

virt-v2v/entrypoint.go#L199-L200

Added lines #L199 - L200 were not covered by tests
}

Expand Down
File renamed without changes.

0 comments on commit 0f5ab69

Please sign in to comment.