Fix atomic string handling for JSON output
This commit is contained in:
@@ -18,7 +18,7 @@ type ResourceUsage struct {
|
||||
environment.Stats
|
||||
|
||||
// The current server status.
|
||||
State system.AtomicString `json:"state"`
|
||||
State *system.AtomicString `json:"state" default:"{}"`
|
||||
|
||||
// The current disk space being used by the server. This value is not guaranteed to be accurate
|
||||
// at all times. It is "manually" set whenever server.Proc() is called. This is kind of just a
|
||||
|
||||
Reference in New Issue
Block a user