File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ func configureFlags(cmd *cobra.Command) {
229229 err = viper .BindPFlag (config .IntakeCustomEndpointKey , cmd .Flags ().Lookup (intakeCustomEndpointFlag ))
230230 cobra .CheckErr (err )
231231 err = viper .BindPFlag (config .LogsCustomEndpointKey , cmd .Flags ().Lookup (logsCustomEndpointFlag ))
232+ cobra .CheckErr (err )
232233 err = viper .BindPFlag (config .SfsCustomEndpointKey , cmd .Flags ().Lookup (sfsCustomEndpointFlag ))
233234 cobra .CheckErr (err )
234235}
Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ func NewCmd(params *types.CmdParams) *cobra.Command {
224224 }
225225 if model .LogsCustomEndpoint {
226226 viper .Set (config .LogsCustomEndpointKey , "" )
227- }
227+ }
228228 if model .SfsCustomEndpoint {
229229 viper .Set (config .SfsCustomEndpointKey , "" )
230230 }
You can’t perform that action at this time.
0 commit comments