Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
fix os chart stack + nil ptr (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehelmick authored Mar 28, 2021
1 parent 202ccb7 commit 7a52533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions assets/server/realmadmin/_stats_keyserver.html
Original file line number Diff line number Diff line change
Expand Up @@ -470,11 +470,7 @@ <h5 class="modal-title">Onset-to-upload distribution</h5>
gridlines: { color: 'transparent' },
},
seriesType: 'bars',
series: {
0: {type: 'line'},
1: {type: 'line'},
2: {type: 'line'},
},
series: series,
legend: { position: 'top' },
isStacked: true,
tooltip: {isHtml: true},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/stats/composite.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (c *Controller) HandleComposite(typ Type) http.Handler {
compDay, ok := statsMap[ksDay.Day]
if !ok {
// if key server has stats from a day the realm doesn't, add it in.
compDay := &database.CompositeDay{
compDay = &database.CompositeDay{
Day: ksDay.Day,
}
stats = append(stats, compDay)
Expand Down

0 comments on commit 7a52533

Please sign in to comment.