File tree 1 file changed +2
-2
lines changed
backend/server/database/model
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const (
50
50
type SubnetStats map [SubnetStatsName ]any
51
51
52
52
// Returns the value of the statistic with the specified name as a big counter.
53
- func (s SubnetStats ) GetBigCounter (name string ) * storkutil.BigCounter {
53
+ func (s SubnetStats ) GetBigCounter (name SubnetStatsName ) * storkutil.BigCounter {
54
54
value , ok := s [name ]
55
55
if ! ok {
56
56
return nil
@@ -69,7 +69,7 @@ func (s SubnetStats) GetBigCounter(name string) *storkutil.BigCounter {
69
69
}
70
70
71
71
// Sets the value of the statistic with the specified name as a big counter.
72
- func (s SubnetStats ) SetBigCounter (name string , counter * storkutil.BigCounter ) {
72
+ func (s SubnetStats ) SetBigCounter (name SubnetStatsName , counter * storkutil.BigCounter ) {
73
73
s [name ] = counter .ConvertToNativeType ()
74
74
}
75
75
You can’t perform that action at this time.
0 commit comments