Archived

This forum has been archived. Please start a new discussion on GitHub.

Minor flaw in AdminI.cpp

void
AdminI::checkIsReadOnly() const
{
    if(_database->isReadOnly())
    {
        DeploymentException ex;
        ex.reason = "this operation is only allowed on a slave or read-only master registry.";
        throw ex;
    }
}

I assume "only" should be "not".

(found while trying "icegridadmin -e application update application.xml" on a replica)

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Yes. Thanks for the bug report, we will fix this for the next release.

    Cheers,
    Benoit.