1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-04 21:42:57 +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

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