Skip to content

Commit

Permalink
fixing typo and change the "DNS Available" to "Service Available"
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshtessell committed Mar 11, 2023
1 parent ecf7623 commit f3c98c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion calc/calc.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func ServiceAvailable(lost_err_time time.Time) time.Duration {
}
}

// Calculate RTO
return service_conn_time.Sub(lost_err_time)
}

Expand Down
2 changes: 1 addition & 1 deletion task/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func Run() {
w := tabwriter.NewWriter(buf, 0, 0, 1, ' ', 0)
fmt.Fprintln(w, "\t", "")
fmt.Fprintln(w, "SLA\t", fmt.Sprintf("%.5f", percent.PercentOf(86400*1000-int(rto.Milliseconds()), 86400*1000)))
fmt.Fprintln(w, "DNS Available\t", serviceAvailable)
fmt.Fprintln(w, "Service Available\t", serviceAvailable)
fmt.Fprintln(w, "RTO\t", rto)
fmt.Fprintln(w, "RPO\t", rpo)
fmt.Fprintln(w, "Quick Data Loss Check (bytes)\t", data_los_bytes)
Expand Down

0 comments on commit f3c98c1

Please sign in to comment.