resources: Fix typos in error message and variables

This commit is contained in:
Oleksandr Redko
2023-03-18 13:01:38 +02:00
committed by Bjørn Erik Pedersen
parent b0b1b76dc9
commit 891b2918d2
2 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ type Client struct {
// New creates a new Client with the given specification.
func New(rs *resources.Spec, t tpl.TemplatesProvider) *Client {
if rs == nil {
panic("must provice a resource Spec")
panic("must provide a resource Spec")
}
if t == nil {
panic("must provide a template provider")