()
| 48 | ) |
| 49 | |
| 50 | func modifiedExternallyError() error { |
| 51 | if *githubSyntax { |
| 52 | return fmt.Errorf("::warning file=%s,line=1,col=1,title=Policy File Modified Externally::The policy file was modified externally in the admin console.", *policyFname) |
| 53 | } else { |
| 54 | return fmt.Errorf("The policy file was modified externally in the admin console.") |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func apply(cache *Cache, tailnet string) func(context.Context, []string) error { |
| 59 | return func(ctx context.Context, args []string) error { |