Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Dec 25, 2023
1 parent 87d4812 commit e7af5eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hmruntime/hostfns.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ func hostInvokeClassifier(ctx context.Context, mod wasm.Module, modelId uint32,
return 0
}
svc, err := aws.GetSecretManagerSession()
if err != nil {
log.Println("error getting secret manager session:", err)
return 0
}
secretValue, err := svc.GetSecretValue(&secretsmanager.GetSecretValueInput{
SecretId: &endpoint,
})
Expand Down

0 comments on commit e7af5eb

Please sign in to comment.