mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucketserver.git
synced 2026-04-11 03:26:52 +02:00
feat: Introduce muxing for new elements
This commit is contained in:
@@ -2,7 +2,8 @@ package bitbucket
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/hashicorp/terraform/helper/schema"
|
||||
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
|
||||
bitbucketTypes "github.com/xvlcwk-terraform/terraform-provider-bitbucketserver/bitbucket/util/types"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
@@ -39,7 +40,7 @@ func dataSourceApplicationProperties() *schema.Resource {
|
||||
}
|
||||
|
||||
func dataSourceApplicationPropertiesRead(d *schema.ResourceData, m interface{}) error {
|
||||
client := m.(*BitbucketServerProvider).BitbucketClient
|
||||
client := m.(*bitbucketTypes.BitbucketServerProvider).BitbucketClient
|
||||
req, err := client.Get("/rest/api/1.0/application-properties")
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user