test
This commit is contained in:
@@ -36,6 +36,10 @@ type Workspace struct {
|
||||
// TrustMap maps resource ID → trust bool based on the creator peer's relation.
|
||||
// Not persisted (bson:"-") — recomputed on every load by ComputeTrustAndClean.
|
||||
TrustMap map[string]bool `json:"trust_map,omitempty" bson:"-"`
|
||||
|
||||
// StaleMap maps resource ID → stale bool. Populated at GET time from the
|
||||
// verify campaign results stored in oc-workspace's stale cache. Not persisted.
|
||||
StaleMap map[string]bool `json:"stale_map,omitempty" bson:"-"`
|
||||
}
|
||||
|
||||
func (d *Workspace) GetAccessor(request *tools.APIRequest) utils.Accessor {
|
||||
|
||||
Reference in New Issue
Block a user