Skip to content

Commit 209d94c

Browse files
Merge pull request #76 from terraform-providers/go1.11-upgrade-2019-01-07
[AUTOMATED] Upgrade to Go 1.11
2 parents d948b19 + a8cfedf commit 209d94c

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
- docker
55
language: go
66
go:
7-
- 1.8.1
7+
- "1.11.x"
88

99
install:
1010
# This script is used by the Travis build to install a cookie for

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Requirements
1111
------------
1212

1313
- [Terraform](https://www.terraform.io/downloads.html) 0.10.x
14-
- [Go](https://golang.org/doc/install) 1.8 (to build the provider plugin)
14+
- [Go](https://golang.org/doc/install) 1.11 (to build the provider plugin)
1515

1616
Building The Provider
1717
---------------------
@@ -37,7 +37,7 @@ Using the provider
3737
Developing the Provider
3838
---------------------------
3939

40-
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.8+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
40+
If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.11+ is *required*). You'll also need to correctly setup a [GOPATH](http://golang.org/doc/code.html#GOPATH), as well as adding `$GOPATH/bin` to your `$PATH`.
4141

4242
To compile the provider, run `make build`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.
4343

gitlab/resource_gitlab_group.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func resourceGitlabGroupCreate(d *schema.ResourceData, meta interface{}) error {
8282
options.ParentID = gitlab.Int(v.(int))
8383
}
8484

85-
log.Printf("[DEBUG] create gitlab group %q", options.Name)
85+
log.Printf("[DEBUG] create gitlab group %q", *options.Name)
8686

8787
group, _, err := client.Groups.CreateGroup(options)
8888
if err != nil {

gitlab/resource_gitlab_project.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func resourceGitlabProjectCreate(d *schema.ResourceData, meta interface{}) error
134134
options.Description = gitlab.String(v.(string))
135135
}
136136

137-
log.Printf("[DEBUG] create gitlab project %q", options.Name)
137+
log.Printf("[DEBUG] create gitlab project %q", *options.Name)
138138

139139
project, _, err := client.Projects.CreateProject(options)
140140
if err != nil {

gitlab/resource_gitlab_project_hook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func resourceGitlabProjectHookCreate(d *schema.ResourceData, meta interface{}) e
9999
options.Token = gitlab.String(v.(string))
100100
}
101101

102-
log.Printf("[DEBUG] create gitlab project hook %q", options.URL)
102+
log.Printf("[DEBUG] create gitlab project hook %q", *options.URL)
103103

104104
hook, _, err := client.Projects.AddProjectHook(project, options)
105105
if err != nil {

gitlab/resource_gitlab_user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func resourceGitlabUserCreate(d *schema.ResourceData, meta interface{}) error {
8888
External: gitlab.Bool(d.Get("is_external").(bool)),
8989
}
9090

91-
log.Printf("[DEBUG] create gitlab user %q", options.Username)
91+
log.Printf("[DEBUG] create gitlab user %q", *options.Username)
9292

9393
user, _, err := client.Users.CreateUser(options)
9494
if err != nil {

0 commit comments

Comments
 (0)