Skip to content

Commit

Permalink
Merge branch 'fix_projectsByMetadata' of https://github.com/uselagoon…
Browse files Browse the repository at this point in the history
…/lagoon-cli into fix_projectsByMetadata
  • Loading branch information
CGoodwin90 committed Nov 28, 2023
2 parents 5daa80e + cda02dc commit 0e5576a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/deploytargetconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ var addDeployTargetConfigCmd = &cobra.Command{
return err
}

if cmdProjectName == "" {
return fmt.Errorf("Missing arguments: project is a required flag")
}
if deploytarget == 0 {
return fmt.Errorf("Missing arguments: deploytarget id is a required flag")
}
if pullrequests == "" {
return fmt.Errorf("Missing arguments: pullrequests is a required flag")
}
Expand Down

0 comments on commit 0e5576a

Please sign in to comment.