Skip to content

Commit

Permalink
Address review concerns, re-factor and improve code quality
Browse files Browse the repository at this point in the history
Signed-off-by: Bailin He <[email protected]>
  • Loading branch information
bailinhe committed Mar 20, 2024
1 parent c5fd68b commit 27840bd
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 231 deletions.
4 changes: 2 additions & 2 deletions cmd/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (
schemaCmd = &cobra.Command{
Use: "schema",
Short: "write the schema into SpiceDB",
Run: func(cmd *cobra.Command, args []string) {
Run: func(cmd *cobra.Command, _ []string) {
writeSchema(cmd.Context(), dryRun, globalCfg)
},
}
Expand All @@ -43,7 +43,7 @@ func init() {
}
}

func writeSchema(ctx context.Context, dryRun bool, cfg *config.AppConfig) {
func writeSchema(_ context.Context, dryRun bool, cfg *config.AppConfig) {
var (
err error
policy iapl.Policy
Expand Down
Loading

0 comments on commit 27840bd

Please sign in to comment.