From 45d4f3e87518d7992818ba271669ac2593358ff5 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Tue, 15 Jan 2019 19:35:27 +0800 Subject: [PATCH] Update smn client with URI --- openstack/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack/client.go b/openstack/client.go index f70eabb6d..83c65ee6d 100644 --- a/openstack/client.go +++ b/openstack/client.go @@ -963,6 +963,7 @@ func NewKMSV1(client *golangsdk.ProviderClient, eo golangsdk.EndpointOpts) (*gol // NewSMNV2 creates a ServiceClient that may be used to access the SMN service. func NewSMNV2(client *golangsdk.ProviderClient, eo golangsdk.EndpointOpts) (*golangsdk.ServiceClient, error) { sc, err := initClientOpts(client, eo, "smnv2") + sc.ResourceBase = sc.Endpoint + "notifications/" return sc, err }