diff --git a/client_interface.go b/client_interface.go index 93eb98c6..d37d829f 100644 --- a/client_interface.go +++ b/client_interface.go @@ -242,7 +242,6 @@ type ClientInterface interface { CreateEtlMeta(project string, etlMeta *EtlMeta) (err error) UpdateEtlMeta(project string, etlMeta *EtlMeta) (err error) DeleteEtlMeta(project string, etlMetaName, etlMetaKey string) (err error) - listEtlMeta(project string, etlMetaName, etlMetaKey, etlMetaTag string, offset, size int) (total int, count int, etlMeta []*EtlMeta, err error) GetEtlMeta(project string, etlMetaName, etlMetaKey string) (etlMeta *EtlMeta, err error) ListEtlMeta(project string, etlMetaName string, offset, size int) (total int, count int, etlMetaList []*EtlMeta, err error) ListEtlMetaWithTag(project string, etlMetaName, etlMetaTag string, offset, size int) (total int, count int, etlMetaList []*EtlMeta, err error) diff --git a/token_auto_update_client.go b/token_auto_update_client.go index 3b4f28e2..b0b6edac 100644 --- a/token_auto_update_client.go +++ b/token_auto_update_client.go @@ -641,16 +641,6 @@ func (c *TokenAutoUpdateClient) DeleteEtlMeta(project string, etlMetaName, etlMe return } -func (c *TokenAutoUpdateClient) listEtlMeta(project string, etlMetaName, etlMetaKey, etlMetaTag string, offset, size int) (total int, count int, etlMeta []*EtlMeta, err error) { - for i := 0; i < c.maxTryTimes; i++ { - total, count, etlMeta, err = c.logClient.listEtlMeta(project, etlMetaName, etlMetaKey, etlMetaTag, offset, size) - if !c.processError(err) { - return - } - } - return -} - func (c *TokenAutoUpdateClient) GetEtlMeta(project string, etlMetaName, etlMetaKey string) (etlMeta *EtlMeta, err error) { for i := 0; i < c.maxTryTimes; i++ { etlMeta, err = c.logClient.GetEtlMeta(project, etlMetaName, etlMetaKey)