go-ipfs-config: fix: make sure the Priority type properly implements the JSON marshal/unmarshal interfaces
Adin Schmahmann committed
Aug 11, 2021 at 17:29 UTC
7c1029c5151a8890b2e8d2404a7aae70e74361da
1 file changed
+2
-2
config/types.go
+2
-2
@@ -208,8 +208,8 @@ func (p Priority) String() string {
208
}
209
}
210
211
-var _ json.Unmarshaler = (*Flag)(nil)
212
-var _ json.Marshaler = (*Flag)(nil)
211
+var _ json.Unmarshaler = (*Priority)(nil)
212
+var _ json.Marshaler = (*Priority)(nil)
213
214
// Duration wraps time.Duration to provide json serialization and deserialization.
215
//