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