fix some issues
This commit is contained in:
@@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
@@ -39,7 +39,7 @@ import (
|
||||
|
||||
// versionMatcher defines a variable matcher to be parsed by the router
|
||||
// when a request is about to be served.
|
||||
const versionMatcher = "/v{version:[0-9.]+}"
|
||||
const versionMatcher = "/v{version:[0-9.]+(?:-dirty)}"
|
||||
|
||||
// Config provides the configuration for the API server
|
||||
type Config struct {
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
const (
|
||||
var (
|
||||
// Version shows the version of gotgt.
|
||||
Version = "Not provided."
|
||||
// SCSIVersion string MUST be shorter than 4 characters
|
||||
|
||||
Reference in New Issue
Block a user