Merge branch 'master' of ssh://github.com/micro/go-micro
This commit is contained in:
commit
374aae1490
@ -280,7 +280,7 @@ func (r *localRuntime) Create(s *runtime.Service, opts ...runtime.CreateOption)
|
|||||||
|
|
||||||
// pass secrets as env vars
|
// pass secrets as env vars
|
||||||
for key, value := range options.Secrets {
|
for key, value := range options.Secrets {
|
||||||
options.Env = append(options.Env, key, value)
|
options.Env = append(options.Env, fmt.Sprintf("%v=%v", key, value))
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, ok := r.namespaces[options.Namespace]; !ok {
|
if _, ok := r.namespaces[options.Namespace]; !ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user