Skip to content

Commit

Permalink
Small change to go vet job in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
charliecon committed Jul 17, 2024
1 parent 03fd638 commit ee9c180
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Vet
run: |
if [[ -n $(go vet ./genesyscloud/...) ]]; then
if [[ -n $(go vet ./genesyscloud/... 2>&1) ]]; then
echo "go vet highlighted the following:\n"
go vet ./genesyscloud/...
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func dataSourceIvrRead(ctx context.Context, d *schema.ResourceData, m interface{
sdkConfig := m.(*provider.ProviderMeta).ClientConfig
ap := getArchitectIvrProxy(sdkConfig)
name := d.Get("name").(string)

fmt.Printf("%s", 3)

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / Generate

fmt.Printf format %s has arg 3 of wrong type int

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / Routing / matrix (1.6.6)

fmt.Printf format %s has arg 3 of wrong type int

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / Outbound / matrix (1.6.6)

fmt.Printf format %s has arg 3 of wrong type int

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / All Other Unit Tests / matrix (1.6.6)

fmt.Printf format %s has arg 3 of wrong type int

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / All Other DataSource Tests / matrix (1.6.6)

fmt.Printf format %s has arg 3 of wrong type int

Check failure on line 22 in genesyscloud/architect_ivr/data_source_genesyscloud_architect_ivr.go

View workflow job for this annotation

GitHub Actions / All Other Resource Tests / matrix (1.6.6)

fmt.Printf format %s has arg 3 of wrong type int

// Query ivr by name. Retry in case search has not yet indexed the ivr.
return util.WithRetries(ctx, 15*time.Second, func() *retry.RetryError {
id, retryable, resp, err := ap.getArchitectIvrIdByName(ctx, name)
Expand Down

0 comments on commit ee9c180

Please sign in to comment.