diff --git a/pkg/agent/as3/postManager.go b/pkg/agent/as3/postManager.go index da78c60bb..154c62d20 100644 --- a/pkg/agent/as3/postManager.go +++ b/pkg/agent/as3/postManager.go @@ -402,7 +402,7 @@ func (postMgr *PostManager) getBigipRegKeyURL() string { func (postMgr *PostManager) logAS3Response(responseMap map[string]interface{}) { // removing the certificates/privateKey from response log - if declaration, ok := (responseMap["declaration"]).([]interface{}); ok { + if declaration, ok := (responseMap["declaration"]).(map[string]interface{}); ok { for _, value := range declaration { if tenantMap, ok := value.(map[string]interface{}); ok { for _, value2 := range tenantMap {