Merge branch 'master' into image-pull-secret-fix

This commit is contained in:
ben-toogood 2020-04-23 18:15:04 +01:00 committed by GitHub
commit 85a8f36565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
} }