Skip to content

Commit

Permalink
fix: ensure there is a service IP available before marking as started (
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 authored Aug 15, 2024
1 parent 3dd3301 commit 25dc8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tcl/testworkflow-toolkit/commands/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func NewServicesCmd() *cobra.Command {
instructions.PrintOutput(env.Ref(), "service", info)
}

if v.Current == mainRef {
if v.Current == mainRef && state[instance.Name][index].Ip != "" {
started = true
if instance.ReadinessProbe == nil {
log("container started")
Expand Down

0 comments on commit 25dc8a2

Please sign in to comment.