Skip to content

Commit

Permalink
go fmt ./genesyscloud
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecon committed Jul 18, 2024
1 parent 6802a2a commit 96b78c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions genesyscloud/data_source_genesyscloud_routing_skill_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ func waitSeconds(duration time.Duration) resource.TestCheckFunc {
func generateRoutingSkillDataSource(
resourceID string,
name string,
// Must explicitly use depends_on in terraform v0.13 when a data source references a resource
// Fixed in v0.14 https://github.com/hashicorp/terraform/pull/26284
// Must explicitly use depends_on in terraform v0.13 when a data source references a resource
// Fixed in v0.14 https://github.com/hashicorp/terraform/pull/26284
dependsOnResource string) string {
return fmt.Sprintf(`data "genesyscloud_routing_skill" "%s" {
name = %s
Expand Down
2 changes: 1 addition & 1 deletion genesyscloud/resource_genesyscloud_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
architectSchedules "terraform-provider-genesyscloud/genesyscloud/architect_schedules"
"terraform-provider-genesyscloud/genesyscloud/group"
"terraform-provider-genesyscloud/genesyscloud/provider"
routinglanguage "terraform-provider-genesyscloud/genesyscloud/routing_language"
routingEmailDomain "terraform-provider-genesyscloud/genesyscloud/routing_email_domain"
routinglanguage "terraform-provider-genesyscloud/genesyscloud/routing_language"
routingQueue "terraform-provider-genesyscloud/genesyscloud/routing_queue"
routingSettings "terraform-provider-genesyscloud/genesyscloud/routing_settings"
routingUtilization "terraform-provider-genesyscloud/genesyscloud/routing_utilization"
Expand Down
6 changes: 3 additions & 3 deletions genesyscloud/resource_genesyscloud_journey_action_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ var (
ValidateFunc: validation.StringInSlice([]string{"Web", "App" /*,"Custom", "Conversation" */}, false), // Custom and Conversation seem not to be supported by the API despite the documentation (DEVENGSD-607)
},
"session_type": {
Description: "The session type for which this condition can be satisfied. Valid values: web, app.",
Type: schema.TypeString,
Required: true,
Description: "The session type for which this condition can be satisfied. Valid values: web, app.",
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{"web", "app"}, false), // custom value seems not to be supported by the API despite the documentation
},
"event_name": {
Expand Down

0 comments on commit 96b78c6

Please sign in to comment.