Skip to content

Commit

Permalink
chore(cmd): update default APIs path (#450)
Browse files Browse the repository at this point in the history
Co-authored-by: iawia002 <[email protected]>
  • Loading branch information
caicloud-bot and iawia002 authored Jan 21, 2021
1 parent adb4c57 commit 6349af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nirvana/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (o *apiOptions) Validate(cmd *cobra.Command, args []string) error {

func (o *apiOptions) Run(cmd *cobra.Command, args []string) error {
if len(args) <= 0 {
defaultAPIsPath := "pkg/apis"
defaultAPIsPath := "pkg"
args = append(args, defaultAPIsPath)
log.Infof("No packages are specified, defaults to %s", defaultAPIsPath)
}
Expand Down

0 comments on commit 6349af2

Please sign in to comment.