Skip to content

GB-238: a federation verb's site flags are given where they do not belong

Generated from ops/errors/catalog.yaml by ops/ci/check-error-catalog.py --write; do not edit here. GB-238 is printed by goatbuilder. The same text offline: goat explain GB-238 or goatbuilder explain GB-238.

What it means

goatbuilder federate init|lint|compose|diff|verify|apply read this party's context from --context-dir, --cert, --ca-roots, --context and --profile-dir. Those flags belong to the six verbs and come after the verb: given before it they are read as the name of a partner, and given to a peering run or to federate plan they would be ignored.

Why it happens

  • the flags were typed after federate and before the verb
  • the flags were given to goatbuilder federate <partner> or federate plan, which read the deployment's own declarations

What to do

One line per step or alternative:

goatbuilder federate lint --context-dir <dir> <package> (the verb first, then its flags)
drop the flags from a peering run or a plan

Read more

Exit code

goatbuilder exits with 2.