Skip to content

Commit

Permalink
fix(zentao): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
d4x1 committed Dec 18, 2024
1 parent 308a3e6 commit e216a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/helpers/pluginhelper/api/ds_remote_api_proxy_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type DsRemoteApiProxyHelper[C plugin.ToolLayerApiConnection] struct {

// NewDsRemoteApiProxyHelper creates a new DsRemoteApiProxyHelper
func NewDsRemoteApiProxyHelper[
C plugin.ToolLayerApiConnection,
C plugin.ToolLayerApiConnection,
](
modelApiHelper *ModelApiHelper[C],
) *DsRemoteApiProxyHelper[C] {
Expand All @@ -67,7 +67,7 @@ func (rap *DsRemoteApiProxyHelper[C]) prepare(input *plugin.ApiResourceInput) (*
func (rap *DsRemoteApiProxyHelper[C]) getApiClient(connection *C) (*ApiClient, errors.Error) {
c := interface{}(connection)
key := ""
var cacheable bool = false
cacheable := true
if unCacheableConnection, ok := c.(plugin.UnCacheableConnection); ok {
cacheable = !unCacheableConnection.UncCacheable()
}
Expand Down

0 comments on commit e216a23

Please sign in to comment.