mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
Add defaults for HTTGetAction.Path & test actions
The comment says optional - this makes it optional. Test handler actions.
This commit is contained in:
@@ -85,5 +85,10 @@ func init() {
|
||||
obj.Protocol = "TCP"
|
||||
}
|
||||
},
|
||||
func(obj *HTTPGetAction) {
|
||||
if obj.Path == "" {
|
||||
obj.Path = "/"
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user