You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the pull request Rick! Looks like you found a grab bag of issues, ha!
So that version issue is my bad, I don't think I updated the docs when I switched from a single go file pim.go to a multiple go file project. If you run the old way with go run pim.go ... it doesn't pull in the new version.go file which defines the Version() function. Easy to fix, just run with a . dot vs specifying the single pim.go file.
For example:
go run . -subs "mysub"
Going forward this is how you'll want to run the program as I'm going to be making it more modular to support new features.
As to the toml parsing issue, somehow a delete control character snuck into your config file. If you run the following command, you'll probably see something like this, note the $? at the beginning of the line.
cat -A pim.toml
^?tenant = "00000000-0000-0000-0000-000000000000"$
Easy to fix in Linux, this one-liner should clean things up for you.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The downloaded linux version was giving 12:33PM ERR config file issue error="While parsing config: toml: invalid character at start of key: \x7f"
So then I tried to build locally and ran into a build problem that this seemed to fix