aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/topology_info.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-08-30 14:51:55 -0700
committerchrislu <chris.lu@gmail.com>2024-08-30 14:51:55 -0700
commit8679870008ed03723cf687d951d9268d7b535dbf (patch)
treec48aa6ffb37b87ac653c81da0268fe85c4ca1c40 /weed/topology/topology_info.go
parent22d5d2ea9659a0b7e8e0dba0c54838e2b7e04a8e (diff)
downloadseaweedfs-8679870008ed03723cf687d951d9268d7b535dbf.tar.xz
seaweedfs-8679870008ed03723cf687d951d9268d7b535dbf.zip
fix typo
Diffstat (limited to 'weed/topology/topology_info.go')
-rw-r--r--weed/topology/topology_info.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/topology/topology_info.go b/weed/topology/topology_info.go
index 89f9097f6..5fa439a0b 100644
--- a/weed/topology/topology_info.go
+++ b/weed/topology/topology_info.go
@@ -42,7 +42,7 @@ func (t *Topology) ToInfo() (info TopologyInfo) {
return
}
-func (t *Topology) ListVolumeLyauts() (volumeLayouts []*VolumeLayout) {
+func (t *Topology) ListVolumeLayouts() (volumeLayouts []*VolumeLayout) {
for _, col := range t.collectionMap.Items() {
for _, volumeLayout := range col.(*Collection).storageType2VolumeLayout.Items() {
volumeLayouts = append(volumeLayouts, volumeLayout.(*VolumeLayout))