mirror of
				https://github.com/fluxcd/flux2.git
				synced 2025-10-31 16:26:36 +08:00 
			
		
		
		
	Correct "sync" to "component" in log lines
Signed-off-by: Joel Bennett <Jaykul@HuddledMasses.org>
This commit is contained in:
		 Joel Bennett
					Joel Bennett
				
			
				
					committed by
					
						 Max Jonas Werner
						Max Jonas Werner
					
				
			
			
				
	
			
			
			 Max Jonas Werner
						Max Jonas Werner
					
				
			
						parent
						
							7b56fffcc9
						
					
				
				
					commit
					cdcf332491
				
			| @ -174,11 +174,11 @@ func (b *PlainGitBootstrapper) ReconcileComponents(ctx context.Context, manifest | |||||||
| 		manifests.Path: strings.NewReader(manifests.Content), | 		manifests.Path: strings.NewReader(manifests.Content), | ||||||
| 	}), repository.WithSigner(signer)) | 	}), repository.WithSigner(signer)) | ||||||
| 	if err != nil && err != git.ErrNoStagedFiles { | 	if err != nil && err != git.ErrNoStagedFiles { | ||||||
| 		return fmt.Errorf("failed to commit sync manifests: %w", err) | 		return fmt.Errorf("failed to commit component manifests: %w", err) | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	if err == nil { | 	if err == nil { | ||||||
| 		b.logger.Successf("committed sync manifests to %q (%q)", b.branch, commit) | 		b.logger.Successf("committed component manifests to %q (%q)", b.branch, commit) | ||||||
| 		b.logger.Actionf("pushing component manifests to %q", b.url) | 		b.logger.Actionf("pushing component manifests to %q", b.url) | ||||||
| 		if err = b.gitClient.Push(ctx, repository.PushConfig{}); err != nil { | 		if err = b.gitClient.Push(ctx, repository.PushConfig{}); err != nil { | ||||||
| 			return fmt.Errorf("failed to push manifests: %w", err) | 			return fmt.Errorf("failed to push manifests: %w", err) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user