mirror of
https://github.com/rancher/steve.git
synced 2025-08-31 15:11:31 +00:00
Fix change events
This commit is contained in:
@@ -71,11 +71,8 @@ func toAPI(schema *types.APISchema, obj runtime.Object) types.APIObject {
|
||||
obj = moveToUnderscore(unstr)
|
||||
}
|
||||
|
||||
gvr := attributes.GVR(schema)
|
||||
|
||||
t := fmt.Sprintf("%s/%s/%s", gvr.Group, gvr.Version, gvr.Resource)
|
||||
apiObject := types.APIObject{
|
||||
Type: t,
|
||||
Type: schema.ID,
|
||||
Object: obj,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user