forked from Silverfish/proton-bridge
GODT-35: New pmapi client and manager using resty
This commit is contained in:
11
pkg/pmapi/manager_ping.go
Normal file
11
pkg/pmapi/manager_ping.go
Normal file
@ -0,0 +1,11 @@
|
||||
package pmapi
|
||||
|
||||
import "context"
|
||||
|
||||
func (m *manager) testPing(ctx context.Context) error {
|
||||
if _, err := m.r(ctx).Get("/tests/ping"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user