Skip to content

Commit

Permalink
feat(v2/auto-salvage): store snapshot disk info in ControllerReplicaInfo
Browse files Browse the repository at this point in the history
longhorn/longhorn-8430

Signed-off-by: Chin-Ya Huang <[email protected]>
  • Loading branch information
c3y1huang committed Sep 19, 2024
1 parent e64023b commit b51b794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/types/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ type VolumeInfo struct {
}

type ControllerReplicaInfo struct {
Address string `json:"address"`
Mode Mode `json:"mode"`
Address string `json:"address"`
Mode Mode `json:"mode"`
SnapshotDisks map[string]DiskInfo `json:"snapshotDisks"`
}

type SyncFileInfo struct {
Expand Down

0 comments on commit b51b794

Please sign in to comment.