Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move InsStatus type decl. to instance.go

  • Loading branch information...
commit 8aaf99e45e746532bb46e6256bbae659be7c319b 1 parent f1fad65
Alexis Sellier cloudhead authored
Showing with 2 additions and 2 deletions.
  1. +2 −0  instance.go
  2. +0 −2  visor.go
2  instance.go
View
@@ -20,6 +20,8 @@ const startPath = "start"
const statusPath = "status"
const stopPath = "stop"
+type InsStatus string
+
const (
InsStatusPending InsStatus = "pending"
InsStatusClaimed = "claimed"
2  visor.go
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 {
Please sign in to comment.
Something went wrong with that request. Please try again.