Reformat files with new linter
All changes should be whitespace, and were done using npm run-script
lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/store/modules/Operations/VirtualMediaStore.js b/src/store/modules/Operations/VirtualMediaStore.js
index 3ae08a1..1d27e21 100644
--- a/src/store/modules/Operations/VirtualMediaStore.js
+++ b/src/store/modules/Operations/VirtualMediaStore.js
@@ -51,7 +51,9 @@
return await api
.get('/redfish/v1/Managers/bmc/VirtualMedia')
.then((response) =>
- response.data.Members.map((virtualMedia) => virtualMedia['@odata.id'])
+ response.data.Members.map(
+ (virtualMedia) => virtualMedia['@odata.id'],
+ ),
)
.then((devices) => api.all(devices.map((device) => api.get(device))))
.then((devices) => {
@@ -94,7 +96,7 @@
return await api
.post(
`/redfish/v1/Managers/bmc/VirtualMedia/${id}/Actions/VirtualMedia.InsertMedia`,
- data
+ data,
)
.catch((error) => {
console.log('Mount image:', error);
@@ -104,7 +106,7 @@
async unmountImage(_, id) {
return await api
.post(
- `/redfish/v1/Managers/bmc/VirtualMedia/${id}/Actions/VirtualMedia.EjectMedia`
+ `/redfish/v1/Managers/bmc/VirtualMedia/${id}/Actions/VirtualMedia.EjectMedia`,
)
.catch((error) => {
console.log('Unmount image:', error);