mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 14:02:49 +08:00
Fix multiple statements on single line
SA1107
This commit is contained in:
parent
167fbb3daf
commit
f24c0a0510
@ -19,7 +19,7 @@ namespace Ocelot.Raft
|
||||
//todo - handle an error
|
||||
//hack it to just cast as at the moment we know this is the only command :P
|
||||
var hack = (UpdateFileConfiguration)log.CommandData;
|
||||
_setter.Set(hack.Configuration).GetAwaiter().GetResult();;
|
||||
_setter.Set(hack.Configuration).GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
}
|
@ -51,7 +51,7 @@ namespace Ocelot.Requester
|
||||
if (!c.Contains(k))
|
||||
{
|
||||
c.Add(k, v);
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
span.Log(LogField.CreateNew().ClientSend());
|
||||
|
@ -25,7 +25,7 @@ namespace Ocelot.AcceptanceTests
|
||||
public CustomMiddlewareTests()
|
||||
{
|
||||
_counter = 0;
|
||||
_steps = new Steps();;
|
||||
_steps = new Steps();
|
||||
_configurationPath = "configuration.json";
|
||||
}
|
||||
|
||||
@ -357,7 +357,7 @@ namespace Ocelot.AcceptanceTests
|
||||
}
|
||||
else if(context.Request.Path.Value != basePath)
|
||||
{
|
||||
context.Response.StatusCode = 404;;
|
||||
context.Response.StatusCode = 404;
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
@ -588,7 +588,8 @@ namespace Ocelot.UnitTests.Configuration
|
||||
AuthenticationOptions = new FileAuthenticationOptions()
|
||||
{
|
||||
AuthenticationProviderKey = "Test"
|
||||
} }
|
||||
}
|
||||
}
|
||||
}
|
||||
}))
|
||||
.When(x => x.WhenIValidateTheConfiguration())
|
||||
|
Loading…
x
Reference in New Issue
Block a user