diff --git a/build/docker/golang/build/alpine.jx.yaml b/build/docker/golang/build/alpine.jx.yaml index c8e5bad..6b7ed92 100644 --- a/build/docker/golang/build/alpine.jx.yaml +++ b/build/docker/golang/build/alpine.jx.yaml @@ -30,3 +30,7 @@ resources: transition: create attributes: name: openssh-client +- type: package + transition: create + attributes: + name: golangci-lint diff --git a/internal/folio/events_test.go b/internal/folio/events_test.go index c7cb3ff..70db7c9 100644 --- a/internal/folio/events_test.go +++ b/internal/folio/events_test.go @@ -14,7 +14,7 @@ func TestNewEvent(t *testing.T) { events := NewEvents() assert.NotNil(t, events) - et.Set(EventTypeLoad) + assert.Nil(t, et.Set(EventTypeLoad)) assert.Nil(t, events.Set(et, EventHandler(` print('hello world') `))) diff --git a/internal/resource/service.go b/internal/resource/service.go index 6500745..edf529d 100644 --- a/internal/resource/service.go +++ b/internal/resource/service.go @@ -58,7 +58,6 @@ type Service struct { UpdateCommand *command.Command `yaml:"-" json:"-"` DeleteCommand *command.Command `yaml:"-" json:"-"` - config data.ConfigurationValueGetter Resources data.ResourceMapper `yaml:"-" json:"-"` }