Skip to content

Commit

Permalink
Merge pull request #22212 from taosdata/fix/TD-24809-3.0
Browse files Browse the repository at this point in the history
fix: taos print version
  • Loading branch information
gccgdb1234 committed Jul 31, 2023
2 parents 79646ff + ff39aad commit 64d63b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/dnode/mgmt/node_mgmt/src/dmEnv.c
Expand Up @@ -42,7 +42,7 @@

static SDnode globalDnode = {0};
static const char *dmOS[10] = {"Ubuntu", "CentOS Linux", "Red Hat", "Debian GNU", "CoreOS",
"FreeBSD", "openSUSE", "SLES", "Fedora", "MacOS"};
"FreeBSD", "openSUSE", "SLES", "Fedora", "macOS"};

SDnode *dmInstance() { return &globalDnode; }

Expand Down
2 changes: 1 addition & 1 deletion tools/shell/src/shellUtil.c
Expand Up @@ -68,7 +68,7 @@ int32_t shellCheckIntSize() {
return 0;
}

void shellPrintVersion() { printf("version: %s\r\n", version); }
void shellPrintVersion() { printf("%s\r\n", shell.info.programVersion); }

void shellGenerateAuth() {
char secretEncrypt[TSDB_PASSWORD_LEN + 1] = {0};
Expand Down

0 comments on commit 64d63b0

Please sign in to comment.