File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
ziti/src/main/kotlin/org/openziti/api Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ import kotlin.reflect.full.memberFunctions
4646internal class Controller (endpoint : String , sslContext : SSLContext ):
4747 Logged by ZitiLog () {
4848
49+ companion object {
50+ val ALL_CONFIGS = listOf (" all" )
51+ }
52+
4953 private val pageSize = 100
5054
5155 private val http = HttpClient .newBuilder()
@@ -142,7 +146,7 @@ internal class Controller(endpoint: String, sslContext: SSLContext):
142146
143147 return pagingApiRequest {
144148 limit, offset -> serviceApi.listServices(limit, offset,
145- null , listOf ( " all " ) , null , null )
149+ null , ALL_CONFIGS , null , null )
146150 }
147151 }
148152
@@ -277,7 +281,7 @@ internal class Controller(endpoint: String, sslContext: SSLContext):
277281 .os(info.os)
278282 .osRelease(info.osRelease)
279283 .osVersion(info.osVersion)
280- configTypes = listOf ( " #all " )
284+ configTypes = ALL_CONFIGS
281285 }
282286
283287 internal inner class ReqInterceptor (val session : ApiSession ? = null ): Consumer<HttpRequest.Builder> {
You can’t perform that action at this time.
0 commit comments