mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 17:14:28 +00:00
Fix status json tag static check
This commit is contained in:
@@ -21,7 +21,7 @@ type Instance struct {
|
|||||||
Created int64 `json:"created,omitempty"` // Unix timestamp when the instance was created
|
Created int64 `json:"created,omitempty"` // Unix timestamp when the instance was created
|
||||||
|
|
||||||
// Mutable state - each owns its own lock
|
// Mutable state - each owns its own lock
|
||||||
status *status `json:"status"` // unexported - status owns its lock
|
status *status `json:"-"` // unexported - status owns its lock
|
||||||
options *CreateInstanceOptions `json:"-"`
|
options *CreateInstanceOptions `json:"-"`
|
||||||
|
|
||||||
// Global configuration (read-only, no lock needed)
|
// Global configuration (read-only, no lock needed)
|
||||||
|
|||||||
Reference in New Issue
Block a user