-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
(feat): Update Functions core/scripts oracle.toml template #10409
Conversation
I see that you haven't updated any README files. Would it make sense to do so? |
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.
Thanks!
@@ -31,6 +31,8 @@ func (g *generateJobSpecs) Run(args []string) { | |||
donID := fs.String("donid", "", "don id string") | |||
routerAddress := fs.String("contract", "", "router contract address") | |||
truncateHostname := fs.Bool("truncateboothostname", false, "truncate host name to first segment (needed for staging DONs)") | |||
gatewayID := fs.String("gatewayid", "", "gateway id string") | |||
gatewayURL := fs.String("gatewayurl", "", "gateway url string") | |||
err := fs.Parse(args) | |||
if err != nil || nodesFile == nil || *nodesFile == "" || routerAddress == nil || *routerAddress == "" { |
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.
check for nil here too?
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.
Is it actually a required field?
I was going off of since we aren't checking things like donID.. but looks like that might just be out of date and we should require that.
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.
Yeah I think everything that is in latest oracle.toml should be required.
@@ -31,6 +31,8 @@ func (g *generateJobSpecs) Run(args []string) { | |||
donID := fs.String("donid", "", "don id string") | |||
routerAddress := fs.String("contract", "", "router contract address") | |||
truncateHostname := fs.Bool("truncateboothostname", false, "truncate host name to first segment (needed for staging DONs)") | |||
gatewayID := fs.String("gatewayid", "", "gateway id string") | |||
gatewayURL := fs.String("gatewayurl", "", "gateway url string") |
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.
soon we will be moving to a config file... due to lots of variables.
SonarQube Quality Gate Maintainability Rating on New Code (is worse than A) See analysis details on SonarQube Fix issues before they fail your Quality Gate with SonarLint in your IDE. |
No description provided.