Skip to content

Commit

Permalink
Merge pull request #8 from GreptimeTeam/fix-623
Browse files Browse the repository at this point in the history
Fix 623
  • Loading branch information
sunchanglong authored Jun 23, 2024
2 parents 3205b6c + d9f3d68 commit ffb5640
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ of GreptimeDB data.
- Event UI
- [ ] Event
- Settings UI
- [ ] DB name input
- [ ] Authentication
- [x] DB name input
- [x] Authentication

## Development

Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ services:

grafana:
user: root
container_name: 'greptimedb-datasource'
container_name: 'info8fcc-greptimedb-datasource'

platform: 'linux/amd64'
build:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-oss}
grafana_image: ${GRAFANA_IMAGE:-grafana-enterprise}
grafana_version: ${GRAFANA_VERSION:-10.3.3}
ports:
- 3000:3000/tcp
Expand All @@ -52,9 +52,9 @@ services:
cap_add:
- SYS_PTRACE
volumes:
- ./dist:/var/lib/grafana/plugins/greptimedb-datasource
- ./dist:/var/lib/grafana/plugins/info8fcc-greptimedb-datasource
- ./provisioning:/etc/grafana/provisioning
- .:/root/greptimedb-datasource
- .:/root/info8fcc-greptimedb-datasource

environment:
NODE_ENV: development
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "db2",
"version": "1.0.36",
"name": "greptimedb-datasource",
"version": "1.0.37",
"description": "",
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
Expand Down
3 changes: 1 addition & 2 deletions src/configuration/DataSourceHttpSettingsOverhaul.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ export const DataSourcehttpSettingsOverhaul = (props: Props) => {
<hr/>
<DatabaseNameSettings
config={options}
onChange={onOptionsChange}>
</DatabaseNameSettings>
onChange={onOptionsChange}/>
<hr></hr>
<Auth
{...newAuthProps}
Expand Down
2 changes: 1 addition & 1 deletion src/configuration/DatabaseNameSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export default function DatabaseNameSettings ({config, onChange}) {
</Field>
</ConfigSection>
)
}
}

0 comments on commit ffb5640

Please sign in to comment.