bmcweb build issue fix
The bmcweb compile is failing when Virtual Media
is enabled(BMCWEB_ENABLE_VM_NBDPROXY). This patch correct
the code which is introduced recently.
Tested:
- Builds successful with VM.
Change-Id: Ib8f65dd648d342a5f5dee5c4ead43949e08ace32
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/redfish-core/lib/virtual_media.hpp b/redfish-core/lib/virtual_media.hpp
index b157867..e969778 100644
--- a/redfish-core/lib/virtual_media.hpp
+++ b/redfish-core/lib/virtual_media.hpp
@@ -210,7 +210,7 @@
}
item["@odata.id"] =
- "/redfish/v1/Managers/" + name + "/VirtualMedia/" + *path;
+ "/redfish/v1/Managers/" + name + "/VirtualMedia/" + path;
members.emplace_back(std::move(item));
}