Skip to content

Commit

Permalink
Merge pull request #33 from alperencelik/fix-clone-container
Browse files Browse the repository at this point in the history
fix: Get container tpl ID from Proxmox
  • Loading branch information
alperencelik authored Jun 2, 2024
2 parents d15005b + a8e8019 commit bcd96d9
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 bcd96d9

Please sign in to comment.