File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
tests/Tests/XPack/MachineLearning Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 55using System ;
66using System . IO ;
77using System . Linq ;
8+ using System . Text ;
89using Elastic . Elasticsearch . Ephemeral ;
910using Elastic . Elasticsearch . Ephemeral . Tasks ;
1011using Elastic . Elasticsearch . Managed . ConsoleWriters ;
@@ -71,7 +72,7 @@ public override void Run(IEphemeralCluster<EphemeralClusterConfiguration> cluste
7172 W ( $ "Unzipping machine learning sample data: { to } ...") ;
7273 using ( var inStream = File . OpenRead ( to ) )
7374 using ( var gzipStream = new GZipInputStream ( inStream ) )
74- using ( var tarArchive = TarArchive . CreateInputTarArchive ( gzipStream ) )
75+ using ( var tarArchive = TarArchive . CreateInputTarArchive ( gzipStream , Encoding . UTF8 ) )
7576 {
7677 tarArchive . ExtractContents ( directoryTarget ) ;
7778 tarArchive . Close ( ) ;
You can’t perform that action at this time.
0 commit comments