Fix: handle openpititx config

Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
LiHui
2021-03-11 17:10:06 +08:00
parent 01600081f6
commit 87c71ed2dd
3 changed files with 7 additions and 8 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 == ""
}