Skip to content

Commit

Permalink
fix #95: rm info log 'using IP x.x.x.x to connect' (#96)
Browse files Browse the repository at this point in the history
* fix: rm info log 'using IP x.x.x.x to connect'

* doc: update changelog
  • Loading branch information
avirtopeanu-ionos authored Sep 22, 2023
1 parent 261b3cd commit 8749aa2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## \[7.0.1]
### Changed
* changed:
* removed debug info log for `GetIP`: "Using IP x.x.x.x to connect"

## \[7.0.0]

### Changed
* renamed:
* `user-data` to `cloud-init`
* `user-data-b64` to `cloud-init-b64`
* `ssh-in-user-data` to `ssh-in-cloud-init`

### Fixed
* fixed:
* driver ip not being set if it was private
* ipblock delete request was sent even if no ipblock existed
* start and stop not working for CUBE servers

## \[7.0.0-rc.2\]
### Changed
* fixed:
Expand Down
3 changes: 1 addition & 2 deletions ionoscloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func (d *Driver) GetCreateFlags() []mcnflag.Flag {
mcnflag.StringFlag{
Name: flagNatId,
EnvVar: extflag.KebabCaseToEnvVarCase(flagNatId),
//Value: nil,
// Value: nil,
Usage: "Ionos Cloud existing and configured NAT Gateway",
},
mcnflag.BoolFlag{
Expand Down Expand Up @@ -1017,7 +1017,6 @@ func (d *Driver) GetIP() (string, error) {
if d.IPAddress == "" {
return "", fmt.Errorf("IP address is not set")
}
log.Infof("Using IP %s to connect", d.IPAddress)
return d.IPAddress, nil
}

Expand Down

0 comments on commit 8749aa2

Please sign in to comment.