Kaitlin Rupert wrote:
Heidi Eckhart wrote:
> +
> + instance = get_typed_instance(broker,
> + pfx_from_conn(conn),
> + "RegisteredProfile",
> + namespace);
> +
> + if (instance == NULL) {
> + CMSetStatusWithChars(broker, &s,
> + CMPI_RC_ERR_FAILED,
> + "Can't create HostSystem
> instance.");
> goto out;
>
I think the return message is incorrect here. You're creating
attempting to create a RegisteredProfile instance, not a HostSystem
instance.
very good eyes and a very good catch :) ... thanks ... Heidi
--
Regards
Heidi Eckhart
Software Engineer
Linux Technology Center - Open Hypervisor
heidieck(a)linux.vnet.ibm.com
**************************************************
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294