Skip to content

Commit

Permalink
Removed unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklesimba authored and s1061123 committed Jun 28, 2019
1 parent f5524e0 commit deeb7d9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions checkpoint/checkpoint_test.go
Expand Up @@ -128,9 +128,6 @@ var _ = Describe("Kubelet checkpoint data read operations", func() {
var (
cp types.ResourceClient
err error
// resourceMap map[string]*types.ResourceInfo
// resourceInfo *types.ResourceInfo
// resourceAnnot = "intel.com/sriov_net_A"
)

It("should not get a Checkpoint instance from file given bad filepath", func() {
Expand Down Expand Up @@ -178,7 +175,7 @@ var _ = Describe("Kubelet checkpoint data read operations", func() {
fakeCheckpoint.WriteToFile([]byte(badSampleData))
_, err = getCheckpoint(fakeTempFile)
Expect(err).To(HaveOccurred())
fakeCheckpoint.WriteToFile([]byte(sampleData)) // do i need to rewrite the good data?
fakeCheckpoint.WriteToFile([]byte(sampleData))
})

It("should not return a ResourceMap instance", func() {
Expand All @@ -195,7 +192,6 @@ var _ = Describe("Kubelet checkpoint data read operations", func() {
rmap, err := cp.GetPodResourceMap(fakePod)
Expect(err).To(HaveOccurred())
Expect(rmap).To(BeEmpty())
// resourceMap = rmap
})
})
})
Expand Down

0 comments on commit deeb7d9

Please sign in to comment.