1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-26 02:48:52 +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 { if r.ActionLinks {
data["actionLinks"] = r.Actions data["actionLinks"] = r.Actions
} else { } else {
data["action"] = r.Actions data["actions"] = r.Actions
} }
return json.Marshal(data) return json.Marshal(data)
} }