MCPcopy
hub / github.com/tailscale/tailscale / modifiedExternallyError

Function modifiedExternallyError

cmd/gitops-pusher/gitops-pusher.go:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48)
49
50func 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
58func apply(cache *Cache, tailnet string) func(context.Context, []string) error {
59 return func(ctx context.Context, args []string) error {

Callers 2

applyFunction · 0.85
testFunction · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…