Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dnacenter/data_source_device_credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func flattenNetworkSettingsGetDeviceCredentialDetailsItemHTTPRead(items *[]dnace
var respItems []map[string]interface{}
for _, item := range *items {
respItem := make(map[string]interface{})
respItem["secure"] = item.Secure
respItem["secure"] = string(item.Secure)
respItem["username"] = item.Username
respItem["password"] = item.Password
respItem["port"] = item.Port
Expand All @@ -553,7 +553,7 @@ func flattenNetworkSettingsGetDeviceCredentialDetailsItemHTTPWrite(items *[]dnac
var respItems []map[string]interface{}
for _, item := range *items {
respItem := make(map[string]interface{})
respItem["secure"] = item.Secure
respItem["secure"] = string(item.Secure)
respItem["username"] = item.Username
respItem["password"] = item.Password
respItem["port"] = item.Port
Expand Down
2 changes: 1 addition & 1 deletion dnacenter/data_source_global_credential.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func flattenDiscoveryGetGlobalCredentialsItems(items *[]dnacentersdkgo.ResponseD
respItem["privacy_password"] = item.PrivacyPassword
respItem["privacy_type"] = item.PrivacyType
respItem["snmp_mode"] = item.SNMPMode
respItem["secure"] = item.Secure
respItem["secure"] = string(item.Secure)
respItem["port"] = item.Port
respItem["comments"] = item.Comments
respItem["credential_type"] = item.CredentialType
Expand Down
Loading