[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: device stuff - cvs
From: |
Jan-Henrik Haukeland |
Subject: |
Re: device stuff - cvs |
Date: |
11 Jun 2003 17:35:11 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) |
Christian Hopp <address@hidden> writes:
> On Wed, 11 Jun 2003, Jan-Henrik Haukeland wrote:
> > Errors should be reserved for stopping monit after parsing. I think
> > that using a statement without any effect is a warning because monit
> > may and should run. But using the word 'deprecated' is probably
> > unfortunate since the user may think that the statement has effect but
> > that he is recomended to use the new statement version. This is how
> > "deprecated" is used in e.g. Java, i.e. using a deprecated
> > method/class/whatever still works. In our case we should use the word
> > 'defunct' instead so the user knows that the statement has ceased to
> > exist. What do you think?
>
> Let say obsolete!
>
> The syntax is not available anymore! That means monit wont parse it
> successfully, anymore. Thus, it is an error... IHMO.
Sorry to be such a nitpick, (can't help it :) but monit will actually
parse the statement successfully because we have a rule in the grammar
for it and monit will (successfully) issue a warning. But of course
the statement will not have any effect anymore which I guess was your
point :)
If you feel *very* strongly for stopping monit after such a statement
with an error message, I will not opose if you add cgf_errflag++ to
the statement but IMHO I still feel it is only a warning situation :)
My vote would be (-)0 then for making this an error.
--
Jan-Henrik Haukeland
- device stuff - cvs, Martin Pala, 2003/06/06
- Re: device stuff - cvs, Jan-Henrik Haukeland, 2003/06/06
- Re: device stuff - cvs, Martin Pala, 2003/06/09
- Re: device stuff - cvs, Christian Hopp, 2003/06/10
- Re: device stuff - cvs, Jan-Henrik Haukeland, 2003/06/10
- Re: device stuff - cvs, Christian Hopp, 2003/06/11
- Re: device stuff - cvs, Jan-Henrik Haukeland, 2003/06/11
- Re: device stuff - cvs, Christian Hopp, 2003/06/11
- Re: device stuff - cvs,
Jan-Henrik Haukeland <=
- Re: device stuff - cvs, Jan-Henrik Haukeland, 2003/06/11
- Language Task Force Report I [Re: device stuff - cvs], Christian Hopp, 2003/06/12
- Re: device stuff - cvs, Martin Pala, 2003/06/20
- Re: device stuff - cvs, Jan-Henrik Haukeland, 2003/06/22
- Re: device stuff - cvs, rory, 2003/06/22