1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-25 10:28:37 +00:00

Fix typo in actions field

This commit is contained in:
Darren Shepherd 2017-11-15 16:43:55 -07:00
parent b69f96a775
commit 0cf22cc4e3

View File

@ -32,7 +32,7 @@ func (r *RawResource) MarshalJSON() ([]byte, error) {
if r.ActionLinks {
data["actionLinks"] = r.Actions
} else {
data["action"] = r.Actions
data["actions"] = r.Actions
}
return json.Marshal(data)
}