File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
)
11
11
12
12
var (
13
- svcid , _ = hvsock .GUIDFromString ("3049197C-FACB-11E6-BD58-64006A7986D3" )
13
+ svcid , _ = hvsock .GUIDFromString ("3049197C-FACB-11E6-BD58-64006A7986D3" )
14
14
useHVSock = false
15
15
)
16
16
@@ -30,7 +30,7 @@ func init() {
30
30
// "loopback" if the string can't be parsed.
31
31
func hvsockParseSockStr (sockStr string ) hvsockAddr {
32
32
hvAddr := hvsock.Addr {hvsock .GUIDZero , svcid }
33
- port , _ := svcid .Port ()
33
+ port , _ := svcid .Port ()
34
34
vAddr := vsock.Addr {vsock .CIDAny , port }
35
35
if sockStr == "" {
36
36
return hvsockAddr {hvAddr : hvAddr , vAddr : vAddr }
@@ -51,7 +51,7 @@ func hvsockParseSockStr(sockStr string) hvsockAddr {
51
51
if vmStr != "" {
52
52
if strings .Contains (vmStr , "-" ) {
53
53
if ! useHVSock {
54
- log .Fatalf ("Can't use VM GUIDs in vsock mode" )
54
+ log .Fatalf ("Can't use VM GUIDs in vsock mode" )
55
55
}
56
56
hvAddr .VMID , err = hvsock .GUIDFromString (vmStr )
57
57
if err != nil {
You can’t perform that action at this time.
0 commit comments