Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
Yanqiang Miao authored on 2016/08/17 01:44:15... | ... |
@@ -328,7 +328,7 @@ func (opts *RegistryOptions) RunCmdRegistry() error { |
328 | 328 |
if err != nil { |
329 | 329 |
return fmt.Errorf("registry does not exist; could not load TLS private key file %q: %v", opts.Config.ServingKeyPath, err) |
330 | 330 |
} |
331 |
- servingCert = data |
|
331 |
+ servingKey = data |
|
332 | 332 |
} |
333 | 333 |
|
334 | 334 |
env := app.Environment{} |