Cb-tumblebug: Config without id/name can be created

Created on 8 Jun 2021  Β·  2Comments  Β·  Source: cloud-barista/cb-tumblebug

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

cd ~/go/src/github.com/cloud-barista/cb-tumblebug/src/testclient/scripts/2.configureTumblebug
./update-config.sh
./list-config.sh
####################################################################
## 0. Config: List
####################################################################
{
  "config": [
    {
      "id": "",
      "name": "",
      "value": ""
    }
  ]
}

What you expected to happen
:
'Update config' μ‹€ν–‰ μ‹œ, name 이 λͺ…μ‹œλ˜μ§€ μ•ŠμœΌλ©΄ μ—λŸ¬λ₯Ό 리턴함

Anything else we need to know?
:

Environment

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

Proposed solution
:
'Update config' μ½”λ“œμ— name μ²΄ν¬ν•˜λŠ” 둜직 μΆ”κ°€

Any other context
:

bug

All 2 comments

@jihoon-seo 이 config의 경우, μ‹œμŠ€ν…œ env μ…‹νŒ…μ„ μœ„ν•œ κ²ƒμ΄μ–΄μ„œ
ν˜„μž¬ setup.env 에 μžˆλŠ” env variable 에 ν•΄λ‹Ήν•˜λŠ” 값이 name으둜 λ“€μ–΄κ°‘λ‹ˆλ‹€. (λ‚΄λΆ€μ μœΌλ‘œλŠ” λͺ¨λ‘ μ†Œλ¬Έμžλ‘œ λ³€κ²½ν•΄μ„œ 비ꡐ μ²˜λ¦¬ν–ˆλ˜ 것 κ°™μŠ΅λ‹ˆλ‹€) μ°Έκ³ ν•˜μ‹œκΈ° λ°”λžλ‹ˆλ‹€..^^

@seokho-son λ„€ λ§žμŠ΅λ‹ˆλ‹€.
그런데, #527 μ—μ„œ, config 듀에 λŒ€ν•΄μ„œλŠ” string μ •μ œλ₯Ό ν•˜μ§€ μ•Šκ³  μ‚¬μš©ν•˜λŠ” κ²ƒμœΌλ‘œ λ³€κ²½ν–ˆμ—ˆμŠ΅λ‹ˆλ‹€.

κ³§ 올릴 PR을 톡해, 이 이슈λ₯Ό ν•΄κ²°ν•˜κ² μŠ΅λ‹ˆλ‹€. 😊

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jihoon-seo picture jihoon-seo  Β·  4Comments

seokho-son picture seokho-son  Β·  3Comments

jihoon-seo picture jihoon-seo  Β·  5Comments

seokho-son picture seokho-son  Β·  5Comments

jihoon-seo picture jihoon-seo  Β·  4Comments