invidian/terraform-provider-gpg

View on GitHub
gpg/resource_gpg_encrypted_message.go

Summary

Maintainability
A
35 mins
Test Coverage
B
81%

Showing 1 of 1 total issue

Function resourceGPGEncryptedMessageCreate has 5 return statements (exceeds 4 allowed).
Open

func resourceGPGEncryptedMessageCreate(data *schema.ResourceData, m interface{}) error {
recipients, err := getRecipients(data)
if err != nil {
return fmt.Errorf("getting recipients: %w", err)
}
Severity: Major
Found in gpg/resource_gpg_encrypted_message.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status