Skip to content
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

Decapitalized log.Debug messages #2853

Merged
merged 1 commit into from
Jun 17, 2016
Merged

Conversation

RichardLitt
Copy link
Member

According to golang standards, these should not be capitalized nor having a trailing period, AFAIK.

License: MIT
Signed-off-by: Richard Littauer richard.littauer@gmail.com

@RichardLitt RichardLitt added topic/docs-ipfs Topic docs-ipfs need/review Needs a review labels Jun 14, 2016
@Kubuxu
Copy link
Member

Kubuxu commented Jun 14, 2016

I don't know golang standards that well, but SGTM.

@RichardLitt
Copy link
Member Author

@Kubuxu Me neither. But @whyrusleeping consistently stated that errors should be lowercase - I figure this should be similar.

@@ -55,7 +55,7 @@ func NewFileSystem(ipfs *core.IpfsNode, sk ci.PrivKey, ipfspath, ipnspath string

// Root constructs the Root of the filesystem, a Root object.
func (f *FileSystem) Root() (fs.Node, error) {
log.Debug("Filesystem, get root")
log.Debug("gilesystem, get root")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo ­– should be filesystem.

(Your editor may have a 'convert to lowercase' command that avoids this.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, and good call. Thanks.

According to golang standards, these should not be capitalized nor having a trailing period, AFAIK.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
@whyrusleeping
Copy link
Member

this LGTM

@whyrusleeping whyrusleeping merged commit 0f3ae07 into master Jun 17, 2016
@whyrusleeping whyrusleeping deleted the feature/decapitalize-Debug branch June 17, 2016 17:26
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/review Needs a review topic/docs-ipfs Topic docs-ipfs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants