Skip to content

Commit f51cbe2

Browse files
committed
chore(sfs): fix comment (boyscout)
1 parent a0f96d7 commit f51cbe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackit/internal/services/sfs/export-policy/resource.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func (r *exportPolicyResource) ImportState(ctx context.Context, req resource.Imp
481481
tflog.Info(ctx, "SFS export policy state import")
482482
}
483483

484-
// Maps bar fields to the provider's internal model
484+
// mapFields maps the API response ShareExportPolicy to the provider's internal model
485485
func mapFields(ctx context.Context, resp *sfs.GetShareExportPolicyResponse, model *Model, region string) error {
486486
if resp == nil || resp.ShareExportPolicy == nil {
487487
return fmt.Errorf("response input is nil")
@@ -551,7 +551,7 @@ func mapFields(ctx context.Context, resp *sfs.GetShareExportPolicyResponse, mode
551551
return nil
552552
}
553553

554-
// Build CreateBarPayload from provider's model
554+
// Build a CreateShareExportPolicyPayload from provider's model
555555
func toCreatePayload(model *Model, rules []rulesModel) (*sfs.CreateShareExportPolicyPayload, error) {
556556
if model == nil {
557557
return nil, fmt.Errorf("nil model")

0 commit comments

Comments
 (0)