func UpdateControllerDetailsFromLogin(
	store jujuclient.ControllerStore, controllerName string,
	params UpdateControllerParams,
) error {
	controllerDetails, err := store.ControllerByName(controllerName)
	if err != nil {
		return errors.Trace(err)
	}
	return updateControllerDetailsFromLogin(store, controllerName, controllerDetails, params)
}
// UpdateControllerDetailsFromLogin writes any new api addresses and other relevant details
// to the client controller file.
// Controller may be specified by a UUID or name, and must already exist.
UpdateControllerDetailsFromLogin writes any new api addresses and other relevant details
to the client controller file.
Controller may be specified by a UUID or name, and must already exist.
// UpdateControllerDetailsFromLogin writes any new api addresses and other relevant details // to the client controller file . // Controller may be specified by a UUID or name and must already exist .
func UpdateControllerDetailsFromLogin(
	store jujuclient.ControllerStore, controllerName string,
	params UpdateControllerParams,
) error {
	controllerDetails, err := store.ControllerByName(controllerName)
	if err != nil {
		return errors.Trace(err)
	}
	return updateControllerDetailsFromLogin(store, controllerName, controllerDetails, params)
}
func UpdateControllerDetailsFromLogin ( store jujuclient . ControllerStore , controllerName string , params UpdateControllerParams , ) error { controllerDetails , err := store . ControllerByName ( controllerName ) if err != nil { return errors . Trace ( err ) } return updateControllerDetailsFromLogin ( store , controllerName , controllerDetails , params ) }
UpdateControllerDetailsFromLogin writes any new api addresses and other relevant details
to the client controller file.
UpdateControllerDetailsFromLogin writes any new api addresses and other relevant details to the client controller file .