mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 10:13:14 -04:00 
			
		
		
		
	Add support for fallthrough to the grpc plugin (#7359)
Fixes: https://github.com/coredns/coredns/issues/7358 Signed-off-by: Blake Barnett <bbarnett@groq.com>
This commit is contained in:
		| @@ -141,6 +141,8 @@ func parseBlock(c *caddy.Controller, g *GRPC) error { | ||||
| 		default: | ||||
| 			return c.Errf("unknown policy '%s'", x) | ||||
| 		} | ||||
| 	case "fallthrough": | ||||
| 		g.Fall.SetZonesFromArgs(c.RemainingArgs()) | ||||
| 	default: | ||||
| 		if c.Val() != "}" { | ||||
| 			return c.Errf("unknown property '%s'", c.Val()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user