Add function test CLI tests (#2871)
* Add function test CLI tests * Add few more services to tests Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
@@ -705,6 +705,10 @@ func (fh functionHandler) getServiceEntry(ctx context.Context) (svcURL *url.URL,
|
||||
},
|
||||
)
|
||||
|
||||
if recordObj == nil {
|
||||
return nil, false, fmt.Errorf("empty service entry: %w", err)
|
||||
}
|
||||
|
||||
record, ok := recordObj.(svcEntryRecord)
|
||||
if !ok {
|
||||
return nil, false, fmt.Errorf("unexpected type of recordObj %T: %w", recordObj, err)
|
||||
|
||||
Reference in New Issue
Block a user