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 7713a55
Showing 1 changed file with 1 addition and 1 deletion.
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
}

Expand Down

0 comments on commit 7713a55

Please sign in to comment.