Skip to content

Commit

Permalink
Update packages/@aws-cdk/aws-eks/lib/managed-nodegroup.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Elad Ben-Israel <[email protected]>
  • Loading branch information
pahud and Elad Ben-Israel authored Mar 17, 2020
1 parent 29d5907 commit f060878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-eks/lib/managed-nodegroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export class Nodegroup extends Resource implements INodegroup {
/**
* Import the Nodegroup from attributes
*/
public static fromNodegroupAttributes(scope: Construct, id: string, attrs: NodegroupAttributes): INodegroup {
public static fromNodegroupName(scope: Construct, id: string, nodegroupName: string): INodegroup {
class Import extends Resource implements INodegroup {
public readonly nodegroupName = attrs.nodegroupName;
}
Expand Down

0 comments on commit f060878

Please sign in to comment.