Skip to content

Commit 51f5cee

Browse files
authored
Merge pull request #459 from IBM-Cloud/revert-458-dev
Revert "Prepare for publishing 1.8.0"
2 parents 755294e + 57d64a5 commit 51f5cee

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

bluemix/env.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ var (
3333
// for internal use
3434
EnvCLIName = newEnv("IBMCLOUD_CLI", "BLUEMIX_CLI")
3535
EnvPluginNamespace = newEnv("IBMCLOUD_PLUGIN_NAMESPACE", "BLUEMIX_PLUGIN_NAMESPACE")
36-
EnvMCP = newEnv("IBMCLOUD_MCP_ENABLED")
3736
)
3837

3938
// Env is an environment variable supported by IBM Cloud CLI for specific purpose

bluemix/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package bluemix
33
import "fmt"
44

55
// Version is the SDK version
6-
var Version = VersionType{Major: 1, Minor: 8, Build: 0}
6+
var Version = VersionType{Major: 1, Minor: 7, Build: 3}
77

88
// VersionType describe version info
99
type VersionType struct {

plugin/plugin.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,4 @@ type PluginContext interface {
298298

299299
// CLIName returns binary name of the Bluemix CLI that is invoking the plugin
300300
CLIName() string
301-
302-
// MCPEnabled returns true if the CLI is functioning as an MCP server
303-
MCPEnabled() bool
304301
}

plugin/plugin_context.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ func (c *pluginContext) VersionCheckEnabled() bool {
116116
return !c.CheckCLIVersionDisabled()
117117
}
118118

119-
func (c *pluginContext) MCPEnabled() bool {
120-
return bluemix.EnvMCP.Get() != ""
121-
}
122-
123119
func envOrConfig(env bluemix.Env, config string) string {
124120
if v := env.Get(); v != "" {
125121
return v

0 commit comments

Comments
 (0)