Project

General

Profile

« Previous | Next » 

Revision 7a78b0a1

Added by François ARMAND almost 7 years ago

Fixes #10994: Error at node list display/deployement status on fresh Rudder 4.2 install

View differences:

inventory-api/src/main/scala/com/normation/inventory/domain/AgentTypes.scala
case invalidJson =>
tokenDefault match {
case Some(default) => Full(PublicKey(default))
case None => Failure(s"Invalid value for security token, ${compactRender(invalidJson)}, and no public key were stored")
case None =>
val error = invalidJson match {
case JNothing => "no value define for security token"
case x => compactRender(invalidJson)
}
Failure(s"Invalid value for security token: ${error}, and no public key were stored")
}
}
}

Also available in: Unified diff