@@ -84,7 +84,7 @@ func parseInput(p *print.Printer, cmd *cobra.Command, inputArgs []string) (*inpu
8484}
8585
8686func buildRequest (ctx context.Context , model * inputModel , apiClient * logs.APIClient ) logs.ApiGetLogsInstanceRequest {
87- return apiClient .GetLogsInstance (ctx , model .ProjectId , model .Region , model .InstanceID )
87+ return apiClient .DefaultAPI . GetLogsInstance (ctx , model .ProjectId , model .Region , model .InstanceID )
8888}
8989
9090func outputResult (p * print.Printer , outputFormat string , instance * logs.LogsInstance ) error {
@@ -93,13 +93,13 @@ func outputResult(p *print.Printer, outputFormat string, instance *logs.LogsInst
9393 }
9494 return p .OutputResult (outputFormat , instance , func () error {
9595 table := tables .NewTable ()
96- table .AddRow ("ID" , utils . PtrString ( instance .Id ) )
96+ table .AddRow ("ID" , instance .Id )
9797 table .AddSeparator ()
98- table .AddRow ("DISPLAY NAME" , utils . PtrString ( instance .DisplayName ) )
98+ table .AddRow ("DISPLAY NAME" , instance .DisplayName )
9999 table .AddSeparator ()
100- table .AddRow ("RETENTION DAYS" , utils . PtrString ( instance .RetentionDays ) )
100+ table .AddRow ("RETENTION DAYS" , instance .RetentionDays )
101101 table .AddSeparator ()
102- table .AddRow ("ACL IP RANGES" , utils . PtrString ( instance .Acl ) )
102+ table .AddRow ("ACL IP RANGES" , instance .Acl )
103103 table .AddSeparator ()
104104 table .AddRow ("DATA SOURCE" , utils .PtrString (instance .DatasourceUrl ))
105105 table .AddSeparator ()
0 commit comments