Skip to content

Commit

Permalink
use uint16 for serializertype config
Browse files Browse the repository at this point in the history
  • Loading branch information
rsafonseca committed Feb 8, 2024
1 parent 17c8e37 commit fe70742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

// PitayaConfig provides all the configuration for a pitaya app
type PitayaConfig struct {
SerializerType int `mapstructure:"serializertype"`
SerializerType uint16 `mapstructure:"serializertype"`
DefaultPipelines struct {
StructValidation struct {
Enabled bool `mapstructure:"enabled"`
Expand Down

0 comments on commit fe70742

Please sign in to comment.