Skip to content

Connection add command output is not proper #8791

@ramya-c3

Description

@ramya-c3

Environment info

  • NooBaa Version: noobaa-core-5.18.0-20250201.el9.x86_64
  • Platform: standalone

Actual behavior

1.# /usr/local/bin/noobaa-cli connection add --name conee3 --notification_protocol http --agent_request_object '{"host":"localhost","port":8080,"timeout":100}' --request_options_object '{"auth":"vYoaR9c9tU1pjmv+2wn2I9zO","path":"/webhook"}' 2>/dev/null
{
"response": {
"code": "ConnectionCreated",
"reply": {
"_": [
"connection",
"add"
],
"name": "conee3",
"notification_protocol": "http",
"agent_request_object": {
"host": "localhost",
"port": 8080,
"timeout": 100
},
"request_options_object": {
"auth": "ubwaUr9HugFurz/8hRfjaYLcX/wfZKNO",
"path": "/webhook"
},
"master_key_id": "67a1fb8e0dc50d8a6d182689"
}
}
}

Expected behavior

1.{
"response": {
"code": "ConnectionCreated",
"reply": {
"name": "conee3",
"notification_protocol": "http",
"agent_request_object": {
"host": "localhost",
"port": 8080,
"timeout": 100
},
"request_options_object": {
"auth": "ubwaUr9HugFurz/8hRfjaYLcX/wfZKNO",
"path": "/webhook"
},
"master_key_id": "67a1fb8e0dc50d8a6d182689"
}
}
}

Steps to reproduce

More information - Screenshots / Logs / Other output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions