|
|
@@ -40,7 +40,7 @@ func New(token string, baseUrl string, namespace string, opts ...Option) (*SDK,
|
|
|
|
|
|
c := client.New(options.timeout)
|
|
|
|
|
|
- namespaceInfos, err := c.GetNamespaces(token, baseUrl, namespace)
|
|
|
+ namespaceInfos, err := c.GetNamespaces(token, baseUrl, namespace, 1, 1)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
@@ -54,7 +54,7 @@ func New(token string, baseUrl string, namespace string, opts ...Option) (*SDK,
|
|
|
|
|
|
for _, dataSourceOption := range options.dataSourceMap {
|
|
|
dataSourceInfos, err := c.GetDataSources(token, baseUrl, namespace,
|
|
|
- dataSourceOption.Name, dataSourceOption.Type)
|
|
|
+ dataSourceOption.Name, dataSourceOption.Type, 1, 1)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|