Skip to content

Bug(v2): Having a non empty yml file in the directory provided to sync fails the sync with a confusing message #1919

@erezrokah

Description

@erezrokah

Describe the Bug

To reproduce:

  1. echo "test: test" > cloudquery.yml
  2. cloudquery sync "."

See the error:

Loading specs from directory:  .
Error: no destinations found for source

Expected Behavior

The error should say "cloudquery.yml is not a valid configuration file"

CloudQuery Version

cloudquery version 0.33.1-pre.0

Metadata

Metadata

Assignees

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