Skip to content

Commit

Permalink
Fix tests and bump version: 3.21.3 (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrachaY authored Jan 28, 2024
1 parent 64f99d8 commit 03ff8fa
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.21.3 (Jan 25, 2024)

- incapsula_site_ssl_settings: Revert last changes ([#386](https://github.com/imperva/terraform-provider-incapsula/pull/386))


## 3.21.2 (Jan 10, 2024)

- Documentation fixes
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NAMESPACE=terraform-providers
PKG_NAME=incapsula
BINARY=terraform-provider-${PKG_NAME}
# Whenever bumping provider version, please update the version in incapsula/client.go (line 27) as well.
VERSION=3.21.2
VERSION=3.21.3

# Mac Intel Chip
OS_ARCH=darwin_amd64
Expand Down
2 changes: 1 addition & 1 deletion incapsula/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type Client struct {
func NewClient(config *Config) *Client {
client := &http.Client{}

return &Client{config: config, httpClient: client, providerVersion: "3.21.2"}
return &Client{config: config, httpClient: client, providerVersion: "3.21.3"}
}

func (c *Client) CreateFormDataBody(bodyMap map[string]interface{}) ([]byte, string) {
Expand Down
4 changes: 2 additions & 2 deletions incapsula/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ func TestMissingBaseURLRev2(t *testing.T) {
if err == nil {
t.Errorf("Should have received an error, got a client: %q", client)
}
if err.Error() != missingBaseURLRev2Message {
t.Errorf("Should have received missing Base URL Revision 2 message, got: %s", err)
if err.Error() != missingBaseURLRev3Message {
t.Errorf("Should have received missing Base URL Revision 3 message, got: %s", err)
}
}

Expand Down

0 comments on commit 03ff8fa

Please sign in to comment.