Skip to content

Commit bbfb0ee

Browse files
committed
lint
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
1 parent 0762100 commit bbfb0ee

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/controlplane/plugins/sdk/v1/fanout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func (i *FanOutIntegration) String() string {
179179
subscribedMaterials[i] = m.Type.String()
180180
}
181181

182-
return fmt.Sprintf("id=%s, version=%s, expectedMaterials=%s", i.Id, i.Version, subscribedMaterials)
182+
return fmt.Sprintf("id=%s, version=%s, expectedMaterials=%s", i.ID, i.Version, subscribedMaterials)
183183
}
184184

185185
func validateInputs(c *FanOutIntegration) error {

app/controlplane/plugins/sdk/v1/integrations.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type InputSchema struct {
4848
// IntegrationBase provides a base implementation to be embedded in integrations
4949
type IntegrationBase struct {
5050
// Identifier of the integration
51-
Id string
51+
ID string
5252
// Friendly Name of the integration
5353
Name string
5454
// Integration version
@@ -102,7 +102,7 @@ func NewIntegrationBase(id, name, version, description, kind string, schema *Inp
102102
return nil, fmt.Errorf("failed to generate attachment JSON schema: %w", err)
103103
}
104104
return &IntegrationBase{
105-
Id: id,
105+
ID: id,
106106
Name: name,
107107
Version: version,
108108
Description: description,
@@ -114,7 +114,7 @@ func NewIntegrationBase(id, name, version, description, kind string, schema *Inp
114114

115115
func (i *IntegrationBase) Describe() *IntegrationInfo {
116116
return &IntegrationInfo{
117-
ID: i.Id,
117+
ID: i.ID,
118118
Name: i.Name,
119119
Version: i.Version,
120120
Description: i.Description,

0 commit comments

Comments
 (0)