Skip to content
Permalink
Browse files

Removed unnecessary comments

  • Loading branch information...
nicklesimba authored and s1061123 committed Jun 27, 2019
1 parent f5524e0 commit deeb7d9a8fbddb50befe551e78754a8e4aaaee6f
Showing with 1 addition and 5 deletions.
  1. +1 −5 checkpoint/checkpoint_test.go
@@ -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() {
@@ -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() {
@@ -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
})
})
})

0 comments on commit deeb7d9

Please sign in to comment.
You can’t perform that action at this time.