-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BACK-2638] Move Summary buckets to collection and unify datastructure #763
base: alex/version-updates
Are you sure you want to change the base?
[BACK-2638] Move Summary buckets to collection and unify datastructure #763
Conversation
b1bd790
to
73cb386
Compare
73cb386
to
e2d477d
Compare
…ion bug with omitempty
…sed on master and could never have been merged after this. Also, golang 1.24
/deploy qa2 data |
Roukoswarf updated values.yaml file in qa2 |
Roukoswarf updated flux policies file in qa2 |
Roukoswarf deployed platform alex/back-2638-buckets-collection branch to qa2 namespace |
… restarted calculations
…atch other non-glucose types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left feedback inline - overall looks good, but there are few issues
data/summary/types/glucose.go
Outdated
|
||
type GlucosePeriods map[string]*GlucosePeriod | ||
|
||
type Range struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove omitempty
to avoid bugs
data/summary/types/glucose.go
Outdated
|
||
type GlucoseBucket struct { | ||
GlucoseRanges `json:",inline" bson:",inline"` | ||
LastRecordDuration int `json:"lastRecordDuration,omitempty" bson:"lastRecordDuration,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove omitempty
to avoid bugs
data/summary/types/glucose.go
Outdated
return true, nil | ||
} | ||
|
||
type GlucosePeriod struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove omitempty
to avoid bugs
No description provided.