diff --git a/cmd/nirvana/api/api.go b/cmd/nirvana/api/api.go index 0fa6bb01..025c3963 100644 --- a/cmd/nirvana/api/api.go +++ b/cmd/nirvana/api/api.go @@ -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) }