Skip to content

Commit

Permalink
embed flags into knapsack
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Pickett committed Feb 1, 2024
1 parent 91e7a9a commit 59430bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 366 deletions.
3 changes: 1 addition & 2 deletions ee/agent/flags/keys/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ type FlagKey string
// When adding a new FlagKey:
// 1. Define the FlagKey identifier, and the string key value it corresponds to, in the block below
// 2. Add a getter and setter to the Flags interface (flags.go)
// 3. Implement the getter and setter in the Knapsack, which delegates the call to the FlagController
// 4. Implement the getter and setter in the FlagController, providing defaults, limits, and overrides
// 3. Implement the getter and setter in the FlagController, providing defaults, limits, and overrides
// 4. Implement tests for any new APIs, sanitizers, limits, overrides.
// 5. Update mocks -- in ee/agent/types, run `mockery --name Knapsack` and `mockery --name Flags`.
const (
Expand Down
Loading

0 comments on commit 59430bb

Please sign in to comment.