Revision 5a904197 src/Ganeti/Storage/Utils.hs
b/src/Ganeti/Storage/Utils.hs | ||
---|---|---|
44 | 44 |
getDefaultStorageKey cfg T.DTPlain = clusterVolumeGroupName $ configCluster cfg |
45 | 45 |
getDefaultStorageKey cfg T.DTFile = |
46 | 46 |
Just (clusterFileStorageDir $ configCluster cfg) |
47 |
getDefaultStorageKey cfg T.DTSharedFile = |
|
48 |
Just (clusterSharedFileStorageDir $ configCluster cfg) |
|
49 | 47 |
getDefaultStorageKey _ _ = Nothing |
50 | 48 |
|
51 | 49 |
-- | Get the cluster's default spindle storage unit |
Also available in: Unified diff