Permalink
Browse files

Move InsStatus type decl. to instance.go

  • Loading branch information...
1 parent f1fad65 commit 8aaf99e45e746532bb46e6256bbae659be7c319b @cloudhead cloudhead committed Dec 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −0 instance.go
  2. +0 −2 visor.go
View
@@ -20,6 +20,8 @@ const startPath = "start"
const statusPath = "status"
const stopPath = "stop"
+type InsStatus string
+
const (
InsStatusPending InsStatus = "pending"
InsStatusClaimed = "claimed"
View
@@ -56,8 +56,6 @@ const (
// Set *automatically* at link time (see Makefile)
var Version string
-type InsStatus string
-
func Init(s Snapshot) (rev int64, err error) {
exists, _, err := s.conn.Exists(nextPortPath)
if err != nil {

0 comments on commit 8aaf99e

Please sign in to comment.