Skip to content

Commit

Permalink
fix: Fixed boolean logic around creating dev environment repo. This w…
Browse files Browse the repository at this point in the history
…as failing during jx boot cli

Signed-off-by: Chris Mellard <chris.mellard@icloud.com>
  • Loading branch information
chrismellard authored and jenkins-x-bot committed Sep 5, 2019
1 parent 051d0f5 commit 6cc184c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/step/verify/step_verify_environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (o *StepVerifyEnvironmentsOptions) createEnvGitRepository(name string, requ
}

if name == kube.LabelValueDevEnvironment || environment.Spec.Kind == v1.EnvironmentKindTypeDevelopment {
if !o.InCDPipeline() && !o.InCluster() {
if !o.InCluster() {
err := o.prDevEnvironment(gitInfo.Name, gitInfo.Organisation, privateRepo, userAuth, requirements, server)
if err != nil {
return errors.Wrapf(err, "creating dev environment for %s", gitInfo.Name)
Expand Down

0 comments on commit 6cc184c

Please sign in to comment.