Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
abd6d5c7
Unverified
Commit
abd6d5c7
authored
May 15, 2018
by
Jordan Liggitt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Split out the hostname when default dhcp_domain is used in nova.conf"
This reverts commit
9a8c6db4
.
parent
2cc178ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
openstack_instances.go
pkg/cloudprovider/providers/openstack/openstack_instances.go
+1
-2
No files found.
pkg/cloudprovider/providers/openstack/openstack_instances.go
View file @
abd6d5c7
...
...
@@ -20,7 +20,6 @@ import (
"context"
"fmt"
"regexp"
"strings"
"github.com/golang/glog"
"github.com/gophercloud/gophercloud"
...
...
@@ -61,7 +60,7 @@ func (i *Instances) CurrentNodeName(ctx context.Context, hostname string) (types
if
err
!=
nil
{
return
""
,
err
}
return
types
.
NodeName
(
strings
.
Split
(
md
.
Hostname
,
"."
)[
0
]
),
nil
return
types
.
NodeName
(
md
.
Hostname
),
nil
}
// AddSSHKeyToAllInstances is not implemented for OpenStack
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment