mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-31 04:57:45 +09:00 
			
		
		
		
	policy: reject unsupported fields (#2764)
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build / build-nix (push) Has been cancelled
				
			
		
			
				
	
				Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Has been cancelled
				
			
		
			
				
	
				Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Has been cancelled
				
			
		
			
				
	
				Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Has been cancelled
				
			
		
			
				
	
				Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Has been cancelled
				
			
		
			
				
	
				Check Generated Files / check-generated (push) Has been cancelled
				
			
		
			
				
	
				Tests / test (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build / build-nix (push) Has been cancelled
				
			Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Has been cancelled
				
			Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Has been cancelled
				
			Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Has been cancelled
				
			Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Has been cancelled
				
			Check Generated Files / check-generated (push) Has been cancelled
				
			Tests / test (push) Has been cancelled
				
			This commit is contained in:
		| @@ -1885,7 +1885,7 @@ func TestPolicyBrokenConfigCommand(t *testing.T) { | ||||
| 			policyFilePath, | ||||
| 		}, | ||||
| 	) | ||||
| 	assert.ErrorContains(t, err, "compiling filter rules: invalid action") | ||||
| 	assert.ErrorContains(t, err, `invalid action "unknown-action"`) | ||||
|  | ||||
| 	// The new policy was invalid, the old one should still be in place, which | ||||
| 	// is none. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user