mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 16:11:03 +01:00 
			
		
		
		
	Do not use yaml.v2 and yaml.v3 as direct dependency (#1281)
This commit is contained in:
		
							parent
							
								
									248abcf353
								
							
						
					
					
						commit
						45fbd34480
					
				| @ -14,7 +14,7 @@ import ( | ||||
| 	"google.golang.org/grpc" | ||||
| 	"google.golang.org/grpc/credentials" | ||||
| 	"google.golang.org/grpc/credentials/insecure" | ||||
| 	"gopkg.in/yaml.v2" | ||||
| 	"gopkg.in/yaml.v3" | ||||
| ) | ||||
| 
 | ||||
| const ( | ||||
|  | ||||
							
								
								
									
										2
									
								
								derp.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								derp.go
									
									
									
									
									
								
							| @ -10,7 +10,7 @@ import ( | ||||
| 	"time" | ||||
| 
 | ||||
| 	"github.com/rs/zerolog/log" | ||||
| 	"gopkg.in/yaml.v2" | ||||
| 	"gopkg.in/yaml.v3" | ||||
| 	"tailscale.com/tailcfg" | ||||
| ) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							| @ -40,7 +40,6 @@ require ( | ||||
| 	google.golang.org/grpc v1.53.0 | ||||
| 	google.golang.org/protobuf v1.28.1 | ||||
| 	gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c | ||||
| 	gopkg.in/yaml.v2 v2.4.0 | ||||
| 	gopkg.in/yaml.v3 v3.0.1 | ||||
| 	gorm.io/driver/postgres v1.4.8 | ||||
| 	gorm.io/gorm v1.24.5 | ||||
| @ -145,6 +144,7 @@ require ( | ||||
| 	google.golang.org/appengine v1.6.7 // indirect | ||||
| 	gopkg.in/ini.v1 v1.67.0 // indirect | ||||
| 	gopkg.in/square/go-jose.v2 v2.6.0 // indirect | ||||
| 	gopkg.in/yaml.v2 v2.4.0 // indirect | ||||
| 	modernc.org/libc v1.22.2 // indirect | ||||
| 	modernc.org/mathutil v1.5.0 // indirect | ||||
| 	modernc.org/memory v1.5.0 // indirect | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user