removed changes

This commit is contained in:
ston1th 2020-06-01 16:11:25 +02:00
commit 3789178234
2 changed files with 1 additions and 5 deletions

View file

@ -5,7 +5,6 @@ package pve
import (
"encoding/json"
"errors"
//"fmt"
"io"
"net/http"
"net/url"
@ -42,7 +41,5 @@ func (b httpbody) Reader() io.Reader {
for k, v := range b {
data.Set(k, v)
}
enc := data.Encode()
//fmt.Println("--- encoded:", enc)
return strings.NewReader(enc)
return strings.NewReader(data.Encode())
}

View file

@ -32,7 +32,6 @@ func (s *Server) body() (httpbody, error) {
"searchdomain": s.SearchDomain,
}
userdata, err := s.UserData.String()
//fmt.Println("--- plain:", userdata)
body["ciuserdata"] = userdata
for i, n := range s.NetDevices {
body["net"+strconv.Itoa(i)] = n.String()