On 16/06/14 15:25, John Meinel wrote:
> So while that used to be true, we no longer call SetMongoPassword for
> anything other than State agents. So unit agents should *not* have a Mongo
> user anyway, and machine agents should only have Mongo users if they have
> the JobManageEnviron which means they have full admin rights in the
> database.
>


So, that means we can delete this code?

// SetMongoPassword sets the password the agent responsible for the unit
// should use to communicate with the state servers.  Previous passwords
// are invalidated.
func (u *Unit) SetMongoPassword(password string) error {
        return u.st.setMongoPassword(u.Tag(), password)
}


-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to