Skip to content

Changing type of Value #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed

Changing type of Value #86

wants to merge 5 commits into from

Conversation

pawanrawal
Copy link
Contributor

@pawanrawal pawanrawal commented May 17, 2016

This change is Reviewable

@manishrjain
Copy link
Contributor

Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion.


posting/list.go, line 206 [r2] (raw file):

}

func ParseValue(value []byte) ([]byte, error) {

You don't really need this function. The small value[0] = 0x00 check is probably not required either -- maybe we can just stop setting the value to 0x00, now that we no longer do json encoding.


Comments from Reviewable

@manishrjain
Copy link
Contributor

Reviewed 2 of 8 files at r1, 7 of 7 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

@pawanrawal
Copy link
Contributor Author

Review status: all files reviewed at latest revision, 1 unresolved discussion.


posting/list.go, line 206 [r2] (raw file):

Previously, manishrjain (Manish R Jain) wrote…

You don't really need this function. The small value[0] = 0x00 check is probably not required either -- maybe we can just stop setting the value to 0x00, now that we no longer do json encoding.


I was wondering if we need it anymore. Where do we set the 0x00 value?


Comments from Reviewable

@pawanrawal
Copy link
Contributor Author

Review status: 2 of 9 files reviewed at latest revision, 2 unresolved discussions.


query/query_test.go, line 273 [r3] (raw file):

          t.Error("Unable to retrieve value")
      }
      if !bytes.Equal(tv.ValBytes(), []byte{}) {

This is the failing test which I changed now.


Comments from Reviewable

@manishrjain
Copy link
Contributor

:lgtm: Please merge only after squashing your commits, and then merge using commandline.

Previously, pawanrawal (Pawan Rawal) wrote…

Changing type of Value


Reviewed 7 of 7 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


query/query_test.go, line 273 [r3] (raw file):

Previously, pawanrawal (Pawan Rawal) wrote…

This is the failing test which I changed now.


OK


Comments from Reviewable

@pawanrawal pawanrawal closed this May 17, 2016
@pawanrawal
Copy link
Contributor Author

Merged.

@pawanrawal pawanrawal deleted the value branch May 17, 2016 09:03
arijitAD pushed a commit that referenced this pull request Oct 15, 2020
Disables failing tests temporarily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants