Skip to content

Commit

Permalink
clear unused codes
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Oct 28, 2020
1 parent 0ae6884 commit a030c9f
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions api-runtime/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import (

// cr "github.com/cloud-barista/cb-spider/api-runtime/common-runtime"
grpcruntime "github.com/cloud-barista/cb-spider/api-runtime/grpc-runtime"
restruntime "github.com/cloud-barista/cb-spider/api-runtime/rest-runtime"
_ "time"
_ "fmt"
restruntime "github.com/cloud-barista/cb-spider/api-runtime/rest-runtime"
)

func main() {
Expand All @@ -25,16 +23,5 @@ func main() {
wg.Done()
}()

// printAdminWebURL()
wg.Wait()
}
/*
func printAdminWebURL() {
for count:=0; count < 3; count++{
if cr.ServicePort
time.Sleep(100 * time.Millisecond)
}
adminWebURL := "http://" + cr.HostIPorName + cr.ServicePort + "/spider/adminweb"
fmt.Printf("\n AdminWeb: %s\n\n", adminWebURL)
}
*/
}

0 comments on commit a030c9f

Please sign in to comment.