diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 15:59:15 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 16:39:21 +0200 |
commit | 863486a6b71ed0e562a3965bed56465d007b1418 (patch) | |
tree | e93f6a687695af86d54237ec9f575d4ef104222d /vendor/github.com/hashicorp/go-getter/detect_bitbucket.go | |
parent | 49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087 (diff) | |
download | terraform-provider-statuscake-add_contact_groups.tar.gz terraform-provider-statuscake-add_contact_groups.tar.zst terraform-provider-statuscake-add_contact_groups.zip |
update vendor and go.modadd_contact_groups
Diffstat (limited to 'vendor/github.com/hashicorp/go-getter/detect_bitbucket.go')
-rw-r--r-- | vendor/github.com/hashicorp/go-getter/detect_bitbucket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/hashicorp/go-getter/detect_bitbucket.go b/vendor/github.com/hashicorp/go-getter/detect_bitbucket.go index a183a17..19047eb 100644 --- a/vendor/github.com/hashicorp/go-getter/detect_bitbucket.go +++ b/vendor/github.com/hashicorp/go-getter/detect_bitbucket.go | |||
@@ -35,7 +35,7 @@ func (d *BitBucketDetector) detectHTTP(src string) (string, bool, error) { | |||
35 | var info struct { | 35 | var info struct { |
36 | SCM string `json:"scm"` | 36 | SCM string `json:"scm"` |
37 | } | 37 | } |
38 | infoUrl := "https://api.bitbucket.org/1.0/repositories" + u.Path | 38 | infoUrl := "https://api.bitbucket.org/2.0/repositories" + u.Path |
39 | resp, err := http.Get(infoUrl) | 39 | resp, err := http.Get(infoUrl) |
40 | if err != nil { | 40 | if err != nil { |
41 | return "", true, fmt.Errorf("error looking up BitBucket URL: %s", err) | 41 | return "", true, fmt.Errorf("error looking up BitBucket URL: %s", err) |