rebase input-definition

This commit is contained in:
Linh Vo 2017-06-27 16:06:21 -05:00
parent ad5518cb4b
commit de42e3edc7
2 changed files with 1 additions and 8 deletions

View file

@ -1659,7 +1659,7 @@ func (h *Handler) handlePostInput(w http.ResponseWriter, r *http.Request) {
}
}
}
if err := json.NewEncoder(w).Encode(postInputDefinitionResponse{}); err != nil {
if err := json.NewEncoder(w).Encode(defaultInputDefinitionResponse{}); err != nil {
h.logger().Printf("response encoding error: %s", err)
}
}

View file

@ -253,13 +253,6 @@ func convert(x *uint64) uint64 {
return 0
}
func convert(x *uint64) uint64 {
if x != nil {
return *x
}
return 0
}
// InputFrame defines the frame used in the input definition.
type InputFrame struct {
Name string `json:"name,omitempty"`