v0.6.13: remove vestigial scope.admins field + New param (#177 follow-up) #200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ship-v0.6.13"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pure internal tidy, no behaviour change.
Since #177 scoped admins exactly like regular users,
scope.Driver.adminsand theadminsparameter ofscope.New(inner, admins)were dead — kept only so call sites didn't have to change. This removes both: the struct field, the constructor parameter, the now-false doc sentence about "retained for call-site compatibility", and a stale test comment referencing the admins map.Call sites were rewritten with
gofmt -r(AST-correct):scope.New(a, b) -> scope.New(a)for external callers (8 inscope_test.go, 1 incmd/cairnd/main.go), plusNew(a, b) -> New(a)inside the scope package for the white-boxscope_ro_test.go(2).go vet, fullgo test ./..., and the dual-arch build all pass.No image/dogfood redeploy needed — this is a no-op refactor; the next functional release carries it.