File tree Expand file tree Collapse file tree 2 files changed +0
-103
lines changed Expand file tree Collapse file tree 2 files changed +0
-103
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { LxdNetwork } from "types/network";
6
6
import { LxdStorageVolume } from "types/storage" ;
7
7
import { Dispatch , SetStateAction } from "react" ;
8
8
import crypto from "crypto" ;
9
- import { LxdDeviceValue } from "types/device" ;
10
9
import { isDiskDevice } from "./devices" ;
11
10
import { isRootDisk } from "./instanceValidation" ;
12
11
import { FormDevice } from "./formDevices" ;
@@ -322,18 +321,6 @@ export const getUniqueResourceName = (
322
321
return name ;
323
322
} ;
324
323
325
- export const getInstanceDevices = (
326
- instance : LxdInstance ,
327
- ) : [ string , LxdDeviceValue ] [ ] => {
328
- return Object . entries ( instance . expanded_devices ?? { } ) ;
329
- } ;
330
-
331
- export const getProfileDevices = (
332
- profile : LxdProfile ,
333
- ) : [ string , LxdDeviceValue ] [ ] => {
334
- return Object . entries ( profile . devices ?? { } ) ;
335
- } ;
336
-
337
324
export const getRootPool = ( instance : LxdInstance ) : string => {
338
325
const rootStorage = Object . values ( instance . expanded_devices ?? { } )
339
326
. filter ( isDiskDevice )
You can’t perform that action at this time.
0 commit comments