Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rf152 committed May 5, 2023
1 parent 5175926 commit c8054cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions test/api/CloudInit/shared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import (
pxapi "github.com/Telmate/proxmox-api-go/proxmox"
)

func _create_basevmref() (ref *pxapi.VmRef) {
ref = pxapi.NewVmRef(100)
ref.SetNode("pve")
ref.SetVmType("qemu")
return ref
}
func _create_vmref() (ref *pxapi.VmRef) {
ref = pxapi.NewVmRef(101)
ref.SetNode("pve")
Expand Down
2 changes: 1 addition & 1 deletion test/api/Test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Test struct {

func (test *Test) CreateClient() (err error) {
if test.APIurl == "" {
test.APIurl = "https://172.26.8.219:8006/api2/json"
test.APIurl = "https://127.0.0.1:8006/api2/json"
}
if test.UserID == "" {
test.UserID = "root@pam"
Expand Down

0 comments on commit c8054cd

Please sign in to comment.