Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitempty for nlb obj in mcisAccessInfo not work #1220

Closed
seokho-son opened this issue Oct 20, 2022 · 0 comments · Fixed by #1221
Closed

Omitempty for nlb obj in mcisAccessInfo not work #1220

seokho-son opened this issue Oct 20, 2022 · 0 comments · Fixed by #1221

Comments

@seokho-son
Copy link
Member

    Server response (Pretty JSON)
{
  "McisId": "mcis01",
  "McisSubGroupAccessInfo": [
    {
      "SubGroupId": "g1",
      "nlbListener": {
        "protocol": "",
        "ip": "",
        "port": "",
        "dnsName": "",
        "keyValueList": null
      },
      "McisVmAccessInfo": [
        {
          "vmId": "g1-1",
          "publicIP": "13.125.209.56",
          "privateIP": "192.168.20.133",
          "sshPort": "22",
          "privateKey": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
        },
        {
          "vmId": "g1-2",
          "publicIP": "43.201.72.240",
          "privateIP": "192.168.20.172",
          "sshPort": "22",
          "privateKey": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
        }
      ]
    }
  ]
}

해당 subgroup에 매치되는 NLB가 없는 경우

      "nlbListener": {
        "protocol": "",
        "ip": "",
        "port": "",
        "dnsName": "",
        "keyValueList": null
      },

이렇게 표시되는 상태인가보네용.. ㅎㅎ

Originally posted by @jihoon-seo in #1218 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant