defaultOLAPConnector resolves the project's default OLAP connector. It should not be invoked until after rill.yaml has been parsed.
()
| 1079 | // defaultOLAPConnector resolves the project's default OLAP connector. |
| 1080 | // It should not be invoked until after rill.yaml has been parsed. |
| 1081 | func (p *Parser) defaultOLAPConnector() string { |
| 1082 | if p.RillYAML != nil && p.RillYAML.OLAPConnector != "" { |
| 1083 | return p.RillYAML.OLAPConnector |
| 1084 | } |
| 1085 | return p.DefaultOLAPConnector |
| 1086 | } |
| 1087 | |
| 1088 | // isDev returns true if the parser's instance's environment is "dev". |
| 1089 | // Usually this means it's running on localhost with "rill start". |
no outgoing calls
no test coverage detected