Skip to content

Commit

Permalink
Add log "Waiting for Kubernetes resources"
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Jul 12, 2022
1 parent 6cfc8d5 commit 1a4111c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/devfile/adapters/kubernetes/component/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ func (a Adapter) Push(parameters adapters.PushParameters, componentStatus *watch
return err
}

// s := log.Spinner("Waiting for Kubernetes resources")
// defer s.End(false)
if componentStatus.State != watch.StateWaitDeployment && componentStatus.State != watch.StateReady {
log.SpinnerNoSpin("Waiting for Kubernetes resources")
}

// Set the mode to Dev since we are using "odo dev" here
labels := odolabels.GetLabels(a.ComponentName, a.AppName, odolabels.ComponentDevMode)
Expand Down

0 comments on commit 1a4111c

Please sign in to comment.