test
This commit is contained in:
parent
12816a532c
commit
e4271a2eba
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue