Skip to content

Commit be226a7

Browse files
author
Guian Gumpac
committed
Made HostnameVerification opetional and added a default value
Signed-off-by: Guian Gumpac <[email protected]>
1 parent ef5597e commit be226a7

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

bi-connectors/PowerBIConnector/OpenSearchProject.pq

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ OpenSearchProjectType = type function (
2828
Documentation.FieldDescription = "Use SSL",
2929
Documentation.AllowedValues = { true, false }
3030
]),
31-
HostnameVerification as (type logical meta [
31+
optional HostnameVerification as (type logical meta [
3232
Documentation.FieldCaption = "Certificate validation",
3333
Documentation.FieldDescription = "Certificate validation",
3434
Documentation.AllowedValues = { true, false }
@@ -82,7 +82,11 @@ OpenSearchProjectImpl = (Server as text, Port as number, UseSSL as logical, Host
8282
ConnectionString = [
8383
Driver = "OpenSearch SQL ODBC Driver",
8484
Host = FinalServerString,
85-
HostnameVerification = if HostnameVerification then 1 else 0
85+
HostnameVerification =
86+
if HostnameVerification = null or HostnameVerification then
87+
1
88+
else
89+
0
8690
],
8791

8892
SQLGetInfo = Diagnostics.LogValue("SQLGetInfo_Options", [

tnameVerification =

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
SSUUMMMMAARRYY OOFF LLEESSSS CCOOMMMMAANNDDSS
3+
4+
Commands marked with * may be preceded by a number, _N.
5+
Notes in parentheses indicate the behavior if _N is given.
6+
A key preceded by a caret indicates the Ctrl key; thus ^K is ctrl-K.
7+
8+
h H Display this help.
9+
q :q Q :Q ZZ Exit.
10+
---------------------------------------------------------------------------
11+
12+
MMOOVVIINNGG
13+
14+
e ^E j ^N CR * Forward one line (or _N lines).
15+
y ^Y k ^K ^P * Backward one line (or _N lines).
16+
f ^F ^V SPACE * Forward one window (or _N lines).
17+
b ^B ESC-v * Backward one window (or _N lines).
18+
z * Forward one window (and set window to _N).
19+
w * Backward one window (and set window to _N).
20+
ESC-SPACE * Forward one window, but don't stop at end-of-file.
21+
d ^D * Forward one half-window (and set half-window to _N).
22+
u ^U * Backward one half-window (and set half-window to _N).
23+
ESC-) RightArrow * Right one half screen width (or _N positions).
24+
ESC-( LeftArrow * Left one half screen width (or _N positions).

0 commit comments

Comments
 (0)