grim/convey
Clone
Summary
Browse
Changes
Graph
golint tweak
2018-01-14, Gary Kramlich
cfee1d060057
Parents
bddc51ebe520
Children
3a25f695c306
golint tweak
1 files changed, 1 insertions(+), 0 deletions(-)
+1
-0
state/state.go
--- 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")