diff --git a/google/config.go b/google/config.go index 082d7092..5db6f84f 100644 --- a/google/config.go +++ b/google/config.go @@ -26,11 +26,6 @@ const ( func init() { validatefn := func(config stow.Config) error { - _, ok := config.Config(ConfigJSON) - if !ok { - return errors.New("missing JSON configuration") - } - _, ok = config.Config(ConfigProjectId) if !ok { return errors.New("missing Project ID") @@ -38,11 +33,6 @@ func init() { return nil } makefn := func(config stow.Config) (stow.Location, error) { - _, ok := config.Config(ConfigJSON) - if !ok { - return nil, errors.New("missing JSON configuration") - } - _, ok = config.Config(ConfigProjectId) if !ok { return nil, errors.New("missing Project ID")