Skip to content

Commit f5436db

Browse files
committed
Address PR feedback
1 parent 70b9e3f commit f5436db

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build/scripts/Targets.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ let private clean (arguments:ParseResults<Arguments>) =
3737

3838
let private build (arguments:ParseResults<Arguments>) = exec "dotnet" ["build"; "-c"; "Release"] |> ignore
3939

40-
//let private test (arguments:ParseResults<Arguments>) = exec "dotnet" ["test"; "-c"; "Release"; "-f"; "net6.0"] |> ignore
4140
let private test (arguments:ParseResults<Arguments>) = ignore()
4241

4342
let private pristineCheck (arguments:ParseResults<Arguments>) =

src/Elastic.Elasticsearch.Ephemeral/Tasks/BeforeStartNodeTasks/XPack/EnsureSecurityUsersInDefaultRealmAreAdded.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ public override void Run(IEphemeralCluster<EphemeralClusterConfiguration> cluste
4949
var pluginBat = Path.Combine(pluginFolder, binary) + BinarySuffix;
5050

5151
foreach (var cred in ClusterAuthentication.AllUsers)
52+
{
5253
ExecuteBinary(cluster.ClusterConfiguration, cluster.Writer, pluginBat,
53-
$"adding user {cred.Username}", $"useradd {cred.Username} -p {cred.Password} -r {cred.Role}");
54+
$"adding user {cred.Username}", "useradd", cred.Username, "-p", cred.Password, "-r", cred.Role);
55+
}
5456

5557
if (!Directory.Exists(xpackConfigFolderCached)) Directory.CreateDirectory(xpackConfigFolderCached);
5658

0 commit comments

Comments
 (0)