This commit is contained in:
ston1th 2020-06-01 15:42:12 +02:00
commit e4271a2eba

View file

@ -27,7 +27,7 @@ func UnmarshalUserData(b []byte) (u *UserData, err error) {
}
func MarshalUserData(u *UserData) ([]byte, error) {
if u == nil {
return
return nil, nil
}
return yaml.Marshal(u)
}