Skip to content

Commit c0af210

Browse files
committed
refactor: remove unused formatHostStatus function from dashboard model
1 parent 9d5eff1 commit c0af210

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

ui/tui/views/dashboard/model.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,6 @@ func (m Model) View() string {
159159
return lipgloss.JoinVertical(lipgloss.Left, lines...)
160160
}
161161

162-
func formatHostStatus(upToDate, outdated int) string {
163-
if outdated > 0 {
164-
return fmt.Sprintf(i18n.T("dashboard.hosts_status_mixed"), upToDate, outdated)
165-
}
166-
return fmt.Sprintf(i18n.T("dashboard.hosts_status_clean"), upToDate)
167-
}
168-
169162
func formatSystemKeySerial(serial int) string {
170163
if serial <= 0 {
171164
return i18n.T("dashboard.system_key.not_generated")

0 commit comments

Comments
 (0)