Skip to content

Commit ef5caf2

Browse files
committed
Remove redundant Running status check
1 parent b12c047 commit ef5caf2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

cmd/start.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ microcks start --name [name of you container/instance]`,
4646
if instance == nil {
4747
instance = &config.Instance{}
4848
}
49-
50-
if instance.Status == "Running" {
51-
fmt.Printf("Microcks instance with name %s is already running", name)
52-
return
53-
}
54-
5549
switch instance.Status {
5650
case "Running":
5751
fmt.Printf("Microcks instance with name %s is already running", name)

0 commit comments

Comments
 (0)