Closed harshchauhan1988 closed 1 year ago
Now when i tried re-running this getting below error:
versa@Cloud-Automation-Host:~$ go get -u github.com/Microsoft/azure-vhd-utils
work/src/github.com/Azure/go-autorest/autorest/adal/devicetoken.go:99:35: error: reference to undefined identifier ‘http.MethodPost’ req, err := http.NewRequest(http.MethodPost, oauthConfig.DeviceCodeEndpoint.String(), body) ^ work/src/github.com/Azure/go-autorest/autorest/adal/devicetoken.go:151:35: error: reference to undefined identifier ‘http.MethodPost’ req, err := http.NewRequest(http.MethodPost, code.OAuthConfig.TokenEndpoint.String(), body) ^ work/src/github.com/Azure/go-autorest/autorest/adal/token.go:360:35: error: reference to undefined identifier ‘http.MethodPost’ req, err := http.NewRequest(http.MethodPost, spt.oauthConfig.TokenEndpoint.String(), body) ^
while trying to run this command "go get github.com/Microsoft/azure-vhd-utils" on ubuntu 14.04 getting below error: Segmentation fault (core dumped) Can somebody help?