Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Diogenes Fernandes <[email protected]>
  • Loading branch information
diofeher committed Jan 14, 2025
1 parent 623e60b commit 2525365
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/internal/moduleindex/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,7 @@ func (g generator) extractProviderDependencies(schema moduleschema.Schema, d *De
Name: providerCallName,
FullName: providerCall.FullName,
VersionConstraint: providerCall.VersionConstraint,
Alias: "",
}
i++
}
Expand Down
2 changes: 2 additions & 0 deletions backend/internal/moduleindex/module_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ type ModuleDependency struct {
// ProviderDependency describes a provider dependency of a module.
// swagger:model
type ProviderDependency struct {
// required:true
Alias string `json:"alias"`
// required:true
Name string `json:"name"`
// required:true
Expand Down

0 comments on commit 2525365

Please sign in to comment.