Skip to content

Commit

Permalink
fix page length
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Osenenko committed Jul 13, 2021
1 parent 6a90225 commit 2ab7243
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bitbucket/resource_deployment_variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"io/ioutil"
"log"
"net/url"
"strings"
"time"

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

// DeploymentVariable structure for handling key info
Expand Down Expand Up @@ -123,7 +124,7 @@ func resourceDeploymentVariableRead(d *schema.ResourceData, m interface{}) error

repository, deployment := parseDeploymentId(d.Get("deployment").(string))
client := m.(*Client)
rvReq, _ := client.Get(fmt.Sprintf("2.0/repositories/%s/deployments_config/environments/%s/variables",
rvReq, _ := client.Get(fmt.Sprintf("2.0/repositories/%s/deployments_config/environments/%s/variables?pagelen=100",
repository,
deployment,
))
Expand Down

0 comments on commit 2ab7243

Please sign in to comment.