Merge branch 'master' into image-pull-secret-fix
This commit is contained in:
commit
85a8f36565
@ -53,7 +53,9 @@ type Client interface {
|
|||||||
|
|
||||||
// Create creates new API object
|
// Create creates new API object
|
||||||
func (c *client) Create(r *Resource, opts ...CreateOption) error {
|
func (c *client) Create(r *Resource, opts ...CreateOption) error {
|
||||||
var options CreateOptions
|
options := CreateOptions{
|
||||||
|
Namespace: c.opts.Namespace,
|
||||||
|
}
|
||||||
for _, o := range opts {
|
for _, o := range opts {
|
||||||
o(&options)
|
o(&options)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user