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 committed Aug 15, 2024
1 parent f32235c commit c4642ff
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 c4642ff

Please sign in to comment.