Skip to content

Commit

Permalink
Revert "fix routing rule import order"
Browse files Browse the repository at this point in the history
This reverts commit 96f28e5
  • Loading branch information
fnuva committed Feb 10, 2022
1 parent 96f28e5 commit 0156e47
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 58 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ go 1.16
require (
github.com/hashicorp/go-retryablehttp v0.6.6
github.com/hashicorp/terraform-plugin-sdk/v2 v2.10.0
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.11-0.20220210080402-2a8f79978ae0
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.9-0.20220105104804-b14b16d483ab
github.com/pkg/errors v0.9.1
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,6 @@ github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.8 h1:qF/rRi8GSU2mjBXfJIyMj9GGmjedsV3
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.8/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s=
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.9-0.20220105104804-b14b16d483ab h1:7fzAUOMkb+SuhUsKbBrr8KOxmGWTtPTt2fqL+RcqGUA=
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.9-0.20220105104804-b14b16d483ab/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s=
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.11-0.20220210080402-2a8f79978ae0 h1:qlSiuCdXCgw/fwoQA+SV2Ek3peiq6G9cR9meP1Ux8Ys=
github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.11-0.20220210080402-2a8f79978ae0/go.mod h1:4OjcxgwdXzezqytxN534MooNmrxRD50geWZxTD7845s=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
Expand Down
3 changes: 1 addition & 2 deletions opsgenie/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ package opsgenie

import (
"context"
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)
Expand Down
4 changes: 1 addition & 3 deletions opsgenie/resource_opsgenie_team_routing_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ package opsgenie
import (
"context"
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
"log"
"strings"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"

"github.com/opsgenie/opsgenie-go-sdk-v2/og"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -257,7 +256,6 @@ func resourceOpsGenieTeamRoutingRuleRead(d *schema.ResourceData, meta interface{
}
d.Set("is_default", result.IsDefault)
d.Set("name", result.Name)
d.Set("order", result.Order)
d.Set("time_restriction", flattenOpsgenieTimeRestriction(result.TimeRestriction))
d.Set("notify", flattenOpsgenieNotify(result.Notify))
d.Set("criteria", flattenOpsgenieCriteria(result.Criteria))
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 0 additions & 38 deletions vendor/github.com/opsgenie/opsgenie-go-sdk-v2/incident/request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ github.com/mitchellh/mapstructure
github.com/mitchellh/reflectwalk
# github.com/oklog/run v1.0.0
github.com/oklog/run
# github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.11-0.20220210080402-2a8f79978ae0
# github.com/opsgenie/opsgenie-go-sdk-v2 v1.2.9-0.20220105104804-b14b16d483ab
## explicit
github.com/opsgenie/opsgenie-go-sdk-v2/alert
github.com/opsgenie/opsgenie-go-sdk-v2/client
Expand Down

0 comments on commit 0156e47

Please sign in to comment.