mirror of https://github.com/docker/docs.git
When updating values in the spec according to CLI flags, don't write into the existing pointers. They may be nil. Instead, update them to point to the new value we're writing. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> (cherry picked from commit f9c920a1266197c2b6f0378b58f22246037fda7a) Signed-off-by: Tibor Vass <tibor@docker.com> |
||
|---|---|---|
| .. | ||
| cmd.go | ||
| create.go | ||
| inspect.go | ||
| list.go | ||
| opts.go | ||
| opts_test.go | ||
| remove.go | ||
| scale.go | ||
| tasks.go | ||
| update.go | ||
| update_test.go | ||