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

Error occurs in JSON unmarshaling #426

Closed
jihoon-seo opened this issue Mar 31, 2021 · 0 comments · Fixed by #432
Closed

Error occurs in JSON unmarshaling #426

jihoon-seo opened this issue Mar 31, 2021 · 0 comments · Fixed by #432
Assignees
Labels
bug Something isn't working

Comments

@jihoon-seo
Copy link
Member

I guess that manipulating JSON with SJSON causes this problem.

What happened
:

####################################################################
## 5. sshKey: Delete
####################################################################
[Test for Mock driver]
{
   "message" : "json: cannot unmarshal object into Go struct field TbSshKeyInfo.associatedObjectList of type []string"
}
0
## 4. SecurityGroup: Delete
####################################################################
## 4. SecurityGroup: Delete
####################################################################
[Test for Mock driver]
{
   "message" : "json: cannot unmarshal object into Go struct field TbSecurityGroupInfo.associatedObjectList of type []string"
}
0
## 3. vNet: Delete
####################################################################
## 3. vNet: Delete
####################################################################
[Test for Mock driver]
{
   "message" : "json: cannot unmarshal object into Go struct field TbVNetInfo.associatedObjectList of type []string"
}
0

What you expected to happen
:
Unmarshaling returns no error.

How to reproduce it (as minimally and precisely as possible)
:

❯ ./testAll-mcis-mcir-ns-cloud.sh mock 1 jhseo
❯ ./cleanAll-mcis-mcir-ns-cloud.sh mock 1 jhseo

❯ ./testAll-mcis-mcir-ns-cloud.sh mock 1 jhseo
❯ ./cleanAll-mcis-mcir-ns-cloud.sh mock 1 jhseo

Anything else we need to know?
:

Environment

  • Source version or branch:
  • OS:
  • Others:

Proposed solution
:
Remove SJSON-using codes

Any other context
:

@jihoon-seo jihoon-seo added the bug Something isn't working label Mar 31, 2021
@jihoon-seo jihoon-seo self-assigned this Mar 31, 2021
@jihoon-seo jihoon-seo changed the title TODO: Remove SJSON-using codes Error occurs in JSON unmarshaling Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant