mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	 598fc516a6
			
		
	
	598fc516a6
	
	
	
		
			
			The change in healthcheck_run_test.go, depends on the
containers/image change:
commit b6afa8ca7b324aca8fd5a7b5b206fc05c0c04874
Author: Mikhail Sokolov <msokolov@evolution.com>
Date:   Fri Mar 15 13:37:44 2024 +0200
    Add support for Docker HealthConfig.StartInterval (v25.0.0+)
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			206 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			206 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package swag
 | |
| 
 | |
| import "unsafe"
 | |
| 
 | |
| // hackStringBytes returns the (unsafe) underlying bytes slice of a string.
 | |
| func hackStringBytes(str string) []byte {
 | |
| 	return unsafe.Slice(unsafe.StringData(str), len(str))
 | |
| }
 |