Comments (3)
On the other hand, if teststr value has different keys from the map, then there is no error:
testStr := string("m2new.key2.key1=200")
Output is:
testStr: m2new.key2.key1=200
map1: map[addr:China age:12 name:simon m2:map[key2:map[key1:1 key12:12]]]
after parse: map[addr:China age:12 name:simon m2:map[key2:map[key1:1 key12:12]] m2new:map[key2:map[key1:200]]]
from helm-update-config.
My third test is to verify that if the testStr has simple key/value pair but not multi-layer key, then strvals.ParseInto(testStr,m1) will merge the testStr and m1 together without error:
testStr := string("age=300,name=newname")
Output is:
testStr: age=300, name=newname
map1: map[age:12 name:simon m2:map[key2:map[key1:1 key12:12]]]
after parse: map[age:300 name:newname m2:map[key2:map[key1:1 key12:12]] ]
from helm-update-config.
In one word, from above test, strvals.ParseInto() can't merge multi-layer key/value from the first parameter string to the second parameter map.
Since bcf deployer doesn't rely on this function, we can set this issue to low priority.
from helm-update-config.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-update-config.