policy: fix autogroup:self propagation and optimize cache invalidation (#2807)
This commit is contained in:
parent
66826232ff
commit
2bf1200483
32 changed files with 3318 additions and 1770 deletions
|
|
@ -136,7 +136,7 @@ func writeCapabilityVersionsToFile(versions map[string]tailcfg.CapabilityVersion
|
|||
}
|
||||
|
||||
// Write to file
|
||||
err = os.WriteFile(outputFile, formatted, 0644)
|
||||
err = os.WriteFile(outputFile, formatted, 0o644)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error writing file: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue