Skip to content

network.sh up/down -ca throws error due to empty .yaml files #1363

@1337mn

Description

@1337mn

In a default configuration with a new environment build, errors are thrown due to empty .yaml config files:

Suggest modifying these files to add the following:

version: '3.7'

Steps to recreate:
./network.sh up createChannel -ca

ERROR: Top level object in './compose/docker/docker-compose-ca.yaml' needs to be an object not '<class 'list'>'.

./network.sh down
ERROR: Top level object in './compose/docker/docker-compose-couch.yaml' needs to be an object not '<class 'NoneType'>'.

NOTE: In commit a72b2b5
the files were updated to remove this syntax, but this results in empty config files.

  1. A solution would be to add back in the version: '3.7' as one line without a dash '-' prepended, or some other valid entry for an empty config file.
  2. Another option would be to remove these files until a valid version has been developed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions