Rename pkg/version/flag to pkg/version/verflag

This avoids some conflict with the built-in `flag` module in Go. The
module was already being renamed to `verflag` on import anyways, so we
might as well just call it that.

Tested:
- hack/build-go.sh and ran the resulting binaries with -version args.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
This commit is contained in:
Filipe Brandenburger
2014-08-29 23:19:32 -07:00
parent 2421c738a6
commit 1d8067450c
7 changed files with 9 additions and 8 deletions

View File

@@ -14,8 +14,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// Package flag defines utility functions to handle command line flags related to version of Kubernetes.
package flag
// Package verflag defines utility functions to handle command line flags
// related to version of Kubernetes.
package verflag
import (
"flag"