Skip to content

Commit

Permalink
Fix name of AMSSConfig.ConvertToAMSSConfig()
Browse files Browse the repository at this point in the history
Regenerating the goa assets updated the name of the method.
  • Loading branch information
djjuhasz committed Jun 3, 2024
1 parent fc228df commit 1eced45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/api/gen/storage/convert.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/storage/location.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func NewLocation(location *goastorage.Location) (Location, error) {
case *goastorage.SFTPConfig:
config.Value = c.ConvertToSFTPConfig()
case *goastorage.AMSSConfig:
config.Value = c.ConvertToSSConfig()
config.Value = c.ConvertToAMSSConfig()
default:
return nil, fmt.Errorf("unsupported config type: %T", c)
}
Expand Down

0 comments on commit 1eced45

Please sign in to comment.