mirror of https://github.com/kubernetes/kops.git
fix unit tests
This commit is contained in:
parent
844626ae44
commit
fc35f9d59e
|
|
@ -155,6 +155,7 @@ func TestSharedVolume(t *testing.T) {
|
|||
sharedVolume, err := c.CreateVolume(&ec2.CreateVolumeInput{
|
||||
TagSpecifications: []*ec2.TagSpecification{
|
||||
{
|
||||
ResourceType: aws.String(ec2.ResourceTypeVolume),
|
||||
Tags: []*ec2.Tag{
|
||||
{
|
||||
Key: aws.String(ownershipTagKey),
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ func TestSecurityGroupCreate(t *testing.T) {
|
|||
Description: s("Description"),
|
||||
GroupId: sg1.ID,
|
||||
VpcId: vpc1.ID,
|
||||
Tags: []*ec2.Tag{},
|
||||
GroupName: s("sg1"),
|
||||
}
|
||||
actual := c.SecurityGroups[*sg1.ID]
|
||||
|
|
|
|||
Loading…
Reference in New Issue