internal/app/state: export correct backend value
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Create distribution (push) Successful in 33s
				
			
		
			
				
	
				Test / Sandbox (push) Successful in 2m17s
				
			
		
			
				
	
				Test / Hakurei (push) Successful in 3m7s
				
			
		
			
				
	
				Test / Sandbox (race detector) (push) Successful in 3m52s
				
			
		
			
				
	
				Test / Hpkg (push) Successful in 3m59s
				
			
		
			
				
	
				Test / Hakurei (race detector) (push) Successful in 4m46s
				
			
		
			
				
	
				Test / Flake checks (push) Successful in 1m25s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Create distribution (push) Successful in 33s
				
			Test / Sandbox (push) Successful in 2m17s
				
			Test / Hakurei (push) Successful in 3m7s
				
			Test / Sandbox (race detector) (push) Successful in 3m52s
				
			Test / Hpkg (push) Successful in 3m59s
				
			Test / Hakurei (race detector) (push) Successful in 4m46s
				
			Test / Flake checks (push) Successful in 1m25s
				
			This references the underlying multiBackend due to a typo, making the whole dance with c a noop. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
		
							parent
							
								
									e9d00b9071
								
							
						
					
					
						commit
						8d3381821f
					
				| @ -62,7 +62,7 @@ func (s *multiStore) Do(identity int, f func(c Cursor)) (bool, error) { | ||||
| 	// expose backend methods without exporting the pointer | ||||
| 	c := new(struct{ *multiBackend }) | ||||
| 	c.multiBackend = b | ||||
| 	f(b) | ||||
| 	f(c) | ||||
| 	// disable access to the backend on a best-effort basis | ||||
| 	c.multiBackend = nil | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user