@@ -189,22 +189,24 @@ func (c BrowserPoolsCmd) Get(ctx context.Context, in BrowserPoolsGetInput) error
189189
190190 cfg := pool .BrowserPoolConfig
191191
192- rows := pterm.TableData {{"Property" , "Value" }}
193- rows = append (rows , []string {"ID" , pool .ID })
194- rows = append (rows , []string {"Name" , util .OrDash (pool .Name )})
195- rows = append (rows , []string {"Size" , fmt .Sprintf ("%d" , cfg .Size )})
196- rows = append (rows , []string {"Available" , fmt .Sprintf ("%d" , pool .AvailableCount )})
197- rows = append (rows , []string {"Acquired" , fmt .Sprintf ("%d" , pool .AcquiredCount )})
198- rows = append (rows , []string {"Fill Rate" , formatFillRate (cfg .FillRatePerMinute )})
199- rows = append (rows , []string {"Timeout (seconds)" , fmt .Sprintf ("%d" , cfg .TimeoutSeconds )})
200- rows = append (rows , []string {"Headless" , fmt .Sprintf ("%t" , cfg .Headless )})
201- rows = append (rows , []string {"Stealth" , fmt .Sprintf ("%t" , cfg .Stealth )})
202- rows = append (rows , []string {"Kiosk Mode" , fmt .Sprintf ("%t" , cfg .KioskMode )})
203- rows = append (rows , []string {"Profile" , formatProfile (cfg .Profile )})
204- rows = append (rows , []string {"Proxy ID" , util .OrDash (cfg .ProxyID )})
205- rows = append (rows , []string {"Extensions" , formatExtensions (cfg .Extensions )})
206- rows = append (rows , []string {"Viewport" , formatViewport (cfg .Viewport )})
207- rows = append (rows , []string {"Created At" , util .FormatLocal (pool .CreatedAt )})
192+ rows := pterm.TableData {
193+ {"Property" , "Value" },
194+ {"ID" , pool .ID },
195+ {"Name" , util .OrDash (pool .Name )},
196+ {"Created At" , util .FormatLocal (pool .CreatedAt )},
197+ {"Size" , fmt .Sprintf ("%d" , cfg .Size )},
198+ {"Available" , fmt .Sprintf ("%d" , pool .AvailableCount )},
199+ {"Acquired" , fmt .Sprintf ("%d" , pool .AcquiredCount )},
200+ {"Fill Rate" , formatFillRate (cfg .FillRatePerMinute )},
201+ {"Timeout" , fmt .Sprintf ("%d seconds" , cfg .TimeoutSeconds )},
202+ {"Headless" , fmt .Sprintf ("%t" , cfg .Headless )},
203+ {"Stealth" , fmt .Sprintf ("%t" , cfg .Stealth )},
204+ {"Kiosk Mode" , fmt .Sprintf ("%t" , cfg .KioskMode )},
205+ {"Profile" , formatProfile (cfg .Profile )},
206+ {"Proxy ID" , util .OrDash (cfg .ProxyID )},
207+ {"Extensions" , formatExtensions (cfg .Extensions )},
208+ {"Viewport" , formatViewport (cfg .Viewport )},
209+ }
208210
209211 PrintTableNoPad (rows , true )
210212 return nil
0 commit comments