1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00

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
func (c *client) Create(r *Resource, opts ...CreateOption) error {
var options CreateOptions
options := CreateOptions{
Namespace: c.opts.Namespace,
}
for _, o := range opts {
o(&options)
}