Exemplo n.º 1
0
func isMigrationActive(c *gc.C, st *state.State) bool {
	isActive, err := st.IsModelMigrationActive()
	c.Assert(err, jc.ErrorIsNil)
	return isActive
}