Skip to content

Commit 0bd8ae2

Browse files
committed
changed assigment of handlerType
1 parent e6b7119 commit 0bd8ae2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Synapse.cli/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,16 @@ static void CreateSamplePlan(string handlerCsvList, string outPath, bool verbose
156156

157157
if( hr != null )
158158
{
159-
a.Handler.Type = hr.RuntimeType;
159+
a.Description = $"Resolved Handler from [{hr.RuntimeType}].";
160+
a.Handler.Type = handlerType;
160161
a.Handler.Config = new ParameterInfo();
161162
a.Handler.Config.Values = hr.GetConfigInstance();
162163
a.Parameters = new ParameterInfo();
163164
a.Parameters.Values = hr.GetParametersInstance();
164165
}
165166
else
166167
{
167-
a.Handler.Type = $"Could not load {handlerType}.";
168+
a.Handler.Type = $"Could not load [{handlerType}].";
168169
}
169170

170171
p.Actions.Add( a );

0 commit comments

Comments
 (0)