-
Notifications
You must be signed in to change notification settings - Fork 31
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
Feature/value passing #220
Conversation
@@ -39,6 +40,7 @@ func TestApplyNoOp(t *testing.T) { | |||
|
|||
// test that applying applies the vertex | |||
applied, err := apply.Apply(context.Background(), g) | |||
fmt.Println("TestApplyNoOp: error: ", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a Printf method on the *testing.T
that you can use here, and it won't output during verbose runs unless a test fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that just now looking at Steve's code; handy but I decided that in this case the output is a bit extraneous so I went ahead and removed it.
70477b4
to
740e353
Compare
@@ -1,6 +1,6 @@ | |||
NAME = $(shell awk -F\" '/^const Name/ { print $$2 }' cmd/root.go) | |||
VERSION = $(shell awk -F\" '/^const Version/ { print $$2 }' cmd/version.go) | |||
TOLINT = $(shell find . -type f \( -not -ipath './vendor*' -not -ipath './docs_source*' -not -iname 'main.go' -iname '*.go' \) -exec dirname {} \; | sort -u) | |||
TOLINT = $(shell find . -type f \( -not -ipath './vendor*' -not -ipath './rpc*' -not -ipath './docs_source*' -not -iname 'main.go' -iname '*.go' \) -exec dirname {} \; | sort -u) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rpc should actually be linted. ./rpc/pb/root.*.go
are the ones that are probably causing issues
b863218
to
22908b1
Compare
e53a137
to
c3d6b9a
Compare
"split": {}, | ||
"lookup": {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RefFuncName
here?
|
||
// interpolation allows us to pass vars into scripts while still attempting to | ||
// syntax check them. | ||
Interpolations map[string]string `hcl:"interpolations"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm looking at this code and I don't quite get what this does. Extra environment variables in K/V notation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah sorry I forgot to remove that! It was something I added to get environment variables that weren't part of Env
so I could get better insight into value passing. I'll remove it.
Add the ability to pass values between modules