Make warning style

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2018-09-10 15:32:26 -07:00
parent e8611b1f47
commit 129866bb76

View File

@@ -145,8 +145,8 @@ func (s *Server) checkAuthforWarnings() {
}
}
if warn {
// Should be a warning but we currently do not have that option.
s.Errorf("Plaintext passwords detected. Use Nkeys or Bcrypt passwords in config files.")
// Warning about using plaintext passwords.
s.Warnf("Plaintext passwords detected. Use Nkeys or Bcrypt passwords in config files.")
}
}