Merge pull request #3458 from xyz-li/app-fix

Fix nil pointer and missing router
This commit is contained in:
KubeSphere CI Bot
2021-03-12 14:21:01 +08:00
committed by GitHub
4 changed files with 26 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ func (s *Options) Validate() []error {
return errors
}
func (s *Options) IsEmpty() bool {
func (s *Options) AppStoreConfIsEmpty() bool {
return s.S3Options == nil || s.S3Options.Endpoint == ""
}