Commit c086f785 authored by ethan's avatar ethan

cleanup: error message typos in sql.go

Signed-off-by: 's avatarethan <guangming.wang@daocloud.io>
parent 8cacb2c3
......@@ -199,7 +199,7 @@ func (s *SQL) Query(labels map[string]string) ([]*rspb.Release, error) {
sqlFilter[dbField] = val
} else {
s.Log("unknown label %s", key)
return nil, fmt.Errorf("unknow label %s", key)
return nil, fmt.Errorf("unknown label %s", key)
}
}
sort.Strings(sqlFilterKeys)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment