mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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
|
||||
func (c *client) Create(r *Resource, opts ...CreateOption) error {
|
||||
var options CreateOptions
|
||||
options := CreateOptions{
|
||||
Namespace: c.opts.Namespace,
|
||||
}
|
||||
for _, o := range opts {
|
||||
o(&options)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user