mirror of https://github.com/docker/docs.git
				
				
				
			Merge pull request #55 from docker/no_export_hw
set withHardware flag to false for export commands. We can never expo… Signed-off-by: David Lawrence <david.lawrence@docker.com> Signed-off-by: Diogo Mónica <diogo.monica@gmail.com> (github: endophage)
This commit is contained in:
		
						commit
						b830dda0f5
					
				| 
						 | 
				
			
			@ -189,7 +189,7 @@ func keysExport(cmd *cobra.Command, args []string) {
 | 
			
		|||
 | 
			
		||||
	cs := cryptoservice.NewCryptoService(
 | 
			
		||||
		"",
 | 
			
		||||
		getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, true)...,
 | 
			
		||||
		getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, false)...,
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
	exportFile, err := os.Create(exportFilename)
 | 
			
		||||
| 
						 | 
				
			
			@ -234,7 +234,7 @@ func keysExportRoot(cmd *cobra.Command, args []string) {
 | 
			
		|||
 | 
			
		||||
	cs := cryptoservice.NewCryptoService(
 | 
			
		||||
		"",
 | 
			
		||||
		getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, true)...,
 | 
			
		||||
		getKeyStores(cmd, mainViper.GetString("trust_dir"), retriever, false)...,
 | 
			
		||||
	)
 | 
			
		||||
 | 
			
		||||
	exportFile, err := os.Create(exportFilename)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue