Skip to content

Commit

Permalink
fix: CloneContainer function
Browse files Browse the repository at this point in the history
  • Loading branch information
alperencelik committed Jun 2, 2024
1 parent 078c002 commit 70cbd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/proxmox/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func CloneContainer(container *proxmoxv1alpha1.Container) error {
panic(err)
}
templateContainerName := container.Spec.Template.Name
templateContainerID := 101
templateContainerID := GetContainerID(templateContainerName, nodeName)
templateContainer, err := node.Container(ctx, templateContainerID)
if err != nil {
panic(err)
Expand Down

0 comments on commit 70cbd4e

Please sign in to comment.