SshDaemon: fix typo in local variable name sesssionsCreated
There should only be four esses in sessionsCreated. No functional change --- this is just the name of the variable, not the metric name. Change-Id: I29feced0f359b7f4e4a595a2be68a235a7e40816
This commit is contained in:
committed by
David Pursehouse
parent
2630f923ec
commit
01e08a2154
@@ -266,7 +266,7 @@ public class SshDaemon extends SshServer implements SshInfo, LifecycleListener {
|
||||
}
|
||||
});
|
||||
|
||||
final Counter0 sesssionsCreated = metricMaker.newCounter(
|
||||
final Counter0 sessionsCreated = metricMaker.newCounter(
|
||||
"sshd/sessions/created",
|
||||
new Description("Rate of new SSH sessions")
|
||||
.setRate()
|
||||
@@ -277,7 +277,7 @@ public class SshDaemon extends SshServer implements SshInfo, LifecycleListener {
|
||||
protected AbstractSession createSession(final IoSession io)
|
||||
throws Exception {
|
||||
connected.incrementAndGet();
|
||||
sesssionsCreated.increment();
|
||||
sessionsCreated.increment();
|
||||
if (io instanceof MinaSession) {
|
||||
if (((MinaSession) io).getSession()
|
||||
.getConfig() instanceof SocketSessionConfig) {
|
||||
|
||||
Reference in New Issue
Block a user