Closed jacobbaungard closed 5 years ago
looks good, except StringListCol
does not sound right. Have you tried sorting by these columns? I am not expecting any useful result, but it should not panic :-)
Sorting doesn't really give any meaningful result (neither does livestatus it seems), but doesn't panic no. Changing to IntListCol on the other hand does cause panics. What type would you recommend?
I noticed the builds fails on one of the Go versions. Can't really see what formatting error it complains about in the log though.
I guess this is a new type. InterfaceList
would make sense. But i am fine with StringList as well. I just restarted the test, afaik travis had a few issues today.
i remove go 1.10 from the travis builds :-) could you rebase please?
Ok. Also managed to fix the issue I think, but I have now rebased as well.
thanks
This PR adds the comments_with_info column to host and services.
Also the host_comments_with_info is added to all the relevant tables. I didn't manage to figure out a good way to have this value "inherited" down, with the rest of the host fields (using AddRefColumn). Instead they are explicitly added to each relevant table.