Logo
Explore Help
Sign In
iSharkFly-Docs/packer-cn
1
0
Fork 0
You've already forked packer-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
packer-cn/builder/azure/common/logutil/logfields.go

17 lines
253 B
Go
Raw Normal View History

Add support for Windows to Azure. This is last merge that will happen from the github.com/Azure/packer-Azure repository. All development is being over to this repository. The biggest change in this merge is support for Windows. There are a few other fixes as well. * If the user cancels the build, clean up any resources. * Output a reasonable build artifact. * Log requests and responses with Azure. * Support for US Government and the China clouds. * Support interrupting long running tasks. * Allow the user to set the image version. * Device login support.
2016-04-21 16:50:03 -07:00
package logutil
import "fmt"
type Fields map[string]interface{}
func (f Fields) String() string {
var s string
for k, v := range f {
if sv, ok := v.(string); ok {
v = fmt.Sprintf("%q", sv)
}
s += fmt.Sprintf(" %s=%v", k, v)
}
return s
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 129ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API