Copy user_data in config_item_set_from
So that the validation callback can make use of it. This is analogous to the change in schema application.
This commit is contained in:
parent
bc7e83137e
commit
f90cc1e5a2
@ -4421,6 +4421,7 @@ config_item_set_from (struct config_item *self, struct config_item *source,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
source->user_data = self->user_data;
|
||||||
if (!config_item_validate_by_schema (source, schema, e))
|
if (!config_item_validate_by_schema (source, schema, e))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user