grim/convey

golint tweak

2018-01-14, Gary Kramlich
cfee1d060057
Parents bddc51ebe520
Children 3a25f695c306
golint tweak
--- a/state/state.go Sun Jan 14 03:08:56 2018 -0600
+++ b/state/state.go Sun Jan 14 03:10:23 2018 -0600
@@ -88,6 +88,7 @@
}
}
+// Valid validates whether the state is correct or not.
func (st *State) Valid() error {
if st.parent == nil && st.detachedContainers == nil {
return fmt.Errorf("state must be constructed via New")