diff --git a/service/ziti-tunnel/cli/responseGenerator.go b/service/ziti-tunnel/cli/responseGenerator.go index 2b19d6ad..d469dad7 100644 --- a/service/ziti-tunnel/cli/responseGenerator.go +++ b/service/ziti-tunnel/cli/responseGenerator.go @@ -226,17 +226,3 @@ func GetIdentityResponseObjectFromRTS(args []string, status dto.Response, flags func GetResponseObjectFromRTS(args []string, status dto.Response, flags map[string]bool) dto.Response { return status } - -func GetStatusFromRTS(args []string, status *dto.TunnelStatus, flags map[string]bool) dto.Response { - - if status == nil { - return dto.Response{Message: "Stopped / Unknown State", Code: service.SUCCESS, Error: "", Payload: ""} - } - - if status.Active { - return dto.Response{Message: "Running", Code: service.SUCCESS, Error: "", Payload: ""} - } else { - return dto.Response{Message: "Stopped", Code: service.SUCCESS, Error: "", Payload: ""} - } - -}