Skip to content

Commit

Permalink
fix golangci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdimiceli committed Dec 13, 2024
1 parent bb42366 commit 8c42bfd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,3 @@ jobs:
run: |
go test -v ./...
- name: run goreleaser
uses: goreleaser/goreleaser-action@v5
if: success() && startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USER: github-actions
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: required
language: go
go:
- "1.14"
- "1.23.4"

services:
- docker
Expand Down
6 changes: 3 additions & 3 deletions loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (l *GautocloudLoader) RegisterConnector(connector connectors.Connector) {
return
}
l.store[connector.Id()] = storedServices
entry.Debugf(logMessage("Finished loading connector."))
entry.Debug(logMessage("Finished loading connector."))
}

// Connectors Return all registered connectors
Expand Down Expand Up @@ -409,7 +409,7 @@ func (l *GautocloudLoader) load(connector connectors.Connector) []StoredService
services = append(services, cloudEnv.GetServicesFromTags(connector.Tags())...)
services = l.addService(services, cloudEnv.GetServicesFromName(connector.Name())...)
if len(services) == 0 {
entry.Debugf(logMessage("No service found for connector."))
entry.Debug(logMessage("No service found for connector."))
return storedServices
}
serviceType := reflect.TypeOf(connector.Schema())
Expand All @@ -428,7 +428,7 @@ func (l *GautocloudLoader) load(connector connectors.Connector) []StoredService
reflectType := reflect.TypeOf(loadedService)
entry.WithField("type", reflectType.String()).
WithField("credentials", service.Credentials).
Debugf(logMessage("Connector load a service."))
Debug(logMessage("Connector load a service."))

var intercepter interceptor.Intercepter = nil
if connIntercepter, ok := connector.(connectors.ConnectorIntercepter); ok {
Expand Down

0 comments on commit 8c42bfd

Please sign in to comment.