ctr: pull: Do not ignore labels when transfer service is used
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
This commit is contained in:
		@@ -132,6 +132,10 @@ command. As part of this process, we do the following:
 | 
			
		||||
			} else if !context.Bool("skip-metadata") {
 | 
			
		||||
				sopts = append(sopts, image.WithAllMetadata)
 | 
			
		||||
			}
 | 
			
		||||
			labels := context.StringSlice("label")
 | 
			
		||||
			if len(labels) > 0 {
 | 
			
		||||
				sopts = append(sopts, image.WithImageLabels(commands.LabelArgs(labels)))
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			opts := []registry.Opt{registry.WithCredentials(ch), registry.WithHostDir(context.String("hosts-dir"))}
 | 
			
		||||
			if context.Bool("plain-http") {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user