Skip to content

Commit

Permalink
Use latest version of go CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bec-callow-oct committed Dec 19, 2024
1 parent 8be69ab commit 6955953
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
toolchain go1.22.3

require (
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.63.1
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.64.0
github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20241206032352-dbc62b2d16cf
github.com/google/uuid v1.6.0
github.com/hashicorp/go-cty v1.4.1-0.20200723130312-85980079f637
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ github.com/OctopusDeploy/go-octodiff v1.0.0 h1:U+ORg6azniwwYo+O44giOw6TiD5USk8S4
github.com/OctopusDeploy/go-octodiff v1.0.0/go.mod h1:Mze0+EkOWTgTmi8++fyUc6r0aLZT7qD9gX+31t8MmIU=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.63.1 h1:ShfJ3VZqNblU5V0UnA/UNjQuUrgkljZdDp9Vxh8rhcI=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.63.1/go.mod h1:ggvOXzMnq+w0pLg6C9zdjz6YBaHfO3B3tqmmB7JQdaw=
github.com/OctopusDeploy/go-octopusdeploy/v2 v2.64.0/go.mod h1:ggvOXzMnq+w0pLg6C9zdjz6YBaHfO3B3tqmmB7JQdaw=
github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20241206032352-dbc62b2d16cf h1:wuUJ6DbSZEHE4a3SfSJIcoeTQCSI6lbQ+i46ibY14+Q=
github.com/OctopusSolutionsEngineering/OctopusTerraformTestFramework v0.0.0-20241206032352-dbc62b2d16cf/go.mod h1:xVv8DvYhhwxtQUQQDfOYA6CY8KTkHXccxQ2RfRj6IJ0=
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg=
Expand Down
4 changes: 2 additions & 2 deletions octopusdeploy/resource_project_scheduled_trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func resourceProjectScheduledTriggerRead(ctx context.Context, d *schema.Resource
spaceId := d.Get("space_id").(string)
spaceId = util.Ternary(len(spaceId) > 0, spaceId, client.GetSpaceID())

scheduledTrigger, err := triggers.GetByID(client, spaceId, d.Id())
scheduledTrigger, err := triggers.GetById(client, spaceId, d.Id())

if scheduledTrigger == nil {
d.SetId("")
Expand Down Expand Up @@ -114,7 +114,7 @@ func resourceProjectScheduledTriggerUpdate(ctx context.Context, d *schema.Resour
func resourceProjectScheduledTriggerDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
client := m.(*client.Client)
spaceId := d.Get("space_id").(string)
err := triggers.DeleteByID(client, spaceId, d.Id())
err := triggers.DeleteById(client, spaceId, d.Id())

if err != nil {
return diag.FromErr(err)
Expand Down

0 comments on commit 6955953

Please sign in to comment.