fix: include queue in custom types during install
Use constants.BeadsCustomTypesList() instead of hardcoded list that was missing the queue type.
This commit is contained in:
@@ -483,7 +483,7 @@ func initTownAgentBeads(townPath string) error {
|
|||||||
// bd init doesn't enable "custom" issue types by default, but Gas Town uses
|
// bd init doesn't enable "custom" issue types by default, but Gas Town uses
|
||||||
// agent beads during install and runtime. Ensure these types are enabled
|
// agent beads during install and runtime. Ensure these types are enabled
|
||||||
// before attempting to create any town-level system beads.
|
// before attempting to create any town-level system beads.
|
||||||
if err := ensureBeadsCustomTypes(townPath, []string{"agent", "rig", "convoy", "slot"}); err != nil {
|
if err := ensureBeadsCustomTypes(townPath, constants.BeadsCustomTypesList()); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user