Skip to content

Commit

Permalink
feat: rm an unexported method in interface (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
crimson-gao authored Jul 30, 2024
1 parent 2fb1464 commit 8b8880e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion client_interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 0 additions & 10 deletions token_auto_update_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b8880e

Please sign in to comment.