Skip to content

Commit

Permalink
Fix logic in error handling of instance profile (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadqur committed Apr 1, 2024
1 parent 9131a97 commit 08f4b0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hatchery/nextflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,8 +770,9 @@ func createEcsInstanceProfile(iamSvc *iam.IAM, name string) (*string, error) {
if err != nil {
return nil, err
}
} else {
return nil, err
}
return nil, err
}

// Create the IAM role
Expand Down

0 comments on commit 08f4b0c

Please sign in to comment.