Skip to content

dvc remote default accepts anything #3470

@DavidGOrtega

Description

@DavidGOrtega
dvc remote add -d test test
dvc remote default 
# prints test
dvc remote default anything
dvc remote default 
# prints anything

Should indicate an error if the default remote is not in the list

Please provide information about your setup
DVC version: 0.87.0
Python version: 3.6.9
Platform: Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic
Binary: False
Package: pip
Cache: reflink - not supported, hardlink - supported, symlink - supported

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions