Skip to content

Commit

Permalink
Cleaning up response message for default network interface not found …
Browse files Browse the repository at this point in the history
…error
  • Loading branch information
mye956 committed Oct 4, 2024
1 parent d7e4f4a commit 9eb274a
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion agent/handlers/task_server_setup_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import (

const (
internalError = "internal error"
defaultNetworkInterfaceNameErrorMessage = "failed to obtain default network interface name: unable to obtain default network interface name on host from v3 endpoint ID: %s"
defaultNetworkInterfaceNameErrorMessage = "failed to obtain default network interface name: unable to obtain default network interface name on host from endpoint ID: %s"
)

func TestV4GetTaskMetadataWithTaskNetworkConfig(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion agent/handlers/v4/tmdsstate_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

const (
defaultNetworkInterfaceNameNotFoundError = "unable to obtain default network interface name on host from v3 endpoint ID: %s"
defaultNetworkInterfaceNameNotFoundError = "unable to obtain default network interface name on host from endpoint ID: %s"
)

// Returns task metadata including the task network configuration in v4 format for the
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9eb274a

Please sign in to comment.