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:
parent
b69f96a775
commit
0cf22cc4e3
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user