fixed struct alignment && refactor linter #369
| @@ -83,7 +83,6 @@ func TestPassing(t *testing.T) { | |||||||
| 	if ok { | 	if ok { | ||||||
| 		t.Fatalf("create outgoing context") | 		t.Fatalf("create outgoing context") | ||||||
| 	} | 	} | ||||||
| 	_ = md |  | ||||||
|  |  | ||||||
| 	ctx = NewOutgoingContext(ctx, New(1)) | 	ctx = NewOutgoingContext(ctx, New(1)) | ||||||
| 	testCtx(ctx) | 	testCtx(ctx) | ||||||
|   | |||||||
| @@ -23,7 +23,7 @@ type EC2Metadata struct { | |||||||
| 			ReservationID      int      `json:"reservation-id"` | 			ReservationID      int      `json:"reservation-id"` | ||||||
| 			AMIID              int      `json:"ami-id"` | 			AMIID              int      `json:"ami-id"` | ||||||
| 			AMILaunchIndex     int      `json:"ami-launch-index"` | 			AMILaunchIndex     int      `json:"ami-launch-index"` | ||||||
| 			kernelID           int      `json:"kernel-id"` | 			KernelID           int      `json:"kernel-id"` | ||||||
| 			InstanceID         int      `json:"instance-id"` | 			InstanceID         int      `json:"instance-id"` | ||||||
| 		} `json:"meta-data"` | 		} `json:"meta-data"` | ||||||
| 	} `json:"latest"` | 	} `json:"latest"` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user